about summary refs log tree commit diff
path: root/tests/parallel.sh
blob: d16da3a7ac20d1e0ff21b5c489e558dfab95511e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
storeExpr=$($TOP/src/nix-instantiate/nix-instantiate parallel.nix)

echo "store expr is $storeExpr"

outPath=$($TOP/src/nix-store/nix-store -qnfvvvv -j10000 "$storeExpr")

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