summary refs log tree commit diff
path: root/tests/parallel.sh
blob: c41a28b1ad1a1fc08ea98d37ed7b845f339249e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
source common.sh

clearStore

outPath=$($nixbuild -j10000 parallel.nix)

echo "output path is $outPath"

text=$(cat "$outPath")
if test "$text" != "abacade"; then exit 1; fi

if test "$(cat $SHARED.cur)" != 0; then exit 1; fi
if test "$(cat $SHARED.max)" != 3; then exit 1; fi