mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
80faa2f98a
back the query flag `--force-realise'. * Fixed some of the tests.
18 lines
373 B
Bash
18 lines
373 B
Bash
storeExpr=$($TOP/src/nix-instantiate/nix-instantiate locking.nix)
|
|
|
|
echo "store expr is $storeExpr"
|
|
|
|
for i in 1 2 3 4 5; do
|
|
echo "WORKER $i"
|
|
$TOP/src/nix-store/nix-store -rvv "$storeExpr" &
|
|
done
|
|
|
|
sleep 5
|
|
|
|
outPath=$($TOP/src/nix-store/nix-store -qvvf "$storeExpr")
|
|
|
|
echo "output path is $outPath"
|
|
|
|
text=$(cat "$outPath")
|
|
if test "$text" != "aabcade"; then exit 1; fi
|