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