2006-03-01 14:15:33 +02:00
|
|
|
source common.sh
|
|
|
|
|
2005-02-09 14:57:13 +02:00
|
|
|
drvPath=$($TOP/src/nix-instantiate/nix-instantiate parallel.nix)
|
2004-05-04 20:04:17 +03:00
|
|
|
|
2005-02-09 14:57:13 +02:00
|
|
|
echo "derivation is $drvPath"
|
2004-05-04 20:04:17 +03:00
|
|
|
|
2005-02-09 14:57:13 +02:00
|
|
|
outPath=$($TOP/src/nix-store/nix-store -qfvv -j10000 "$drvPath")
|
2004-05-04 20:04:17 +03:00
|
|
|
|
|
|
|
echo "output path is $outPath"
|
|
|
|
|
|
|
|
text=$(cat "$outPath")
|
2004-05-11 21:05:44 +03:00
|
|
|
if test "$text" != "abacade"; then exit 1; fi
|
2004-05-04 20:04:17 +03:00
|
|
|
|
|
|
|
if test "$(cat $SHARED.cur)" != 0; then exit 1; fi
|
|
|
|
if test "$(cat $SHARED.max)" != 3; then exit 1; fi
|