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

clearStore

outPath=$($nixbuild -vv -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