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