forked from lix-project/lix
c183ee5c79
hook. This fixes a problem with log files being partially or completely filled with 0's because another nix-store process truncates the log file. It should also be more efficient.
14 lines
277 B
Bash
14 lines
277 B
Bash
source common.sh
|
|
|
|
clearStore
|
|
|
|
outPath=$($nixbuild -j10000 parallel.nix)
|
|
|
|
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
|