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