mirror of
https://github.com/NixOS/nix.git
synced 2025-02-19 18:32:36 +00:00
Wait for pid
This commit is contained in:
parent
c5fdbdae32
commit
3859b42597
@ -23,6 +23,7 @@ pid=$!
|
||||
sleep 2
|
||||
|
||||
(sleep 1; echo > $fifo2) &
|
||||
pid2=$!
|
||||
|
||||
outPath=$(nix-build --max-silent-time 60 -o "$TEST_ROOT/result" -E "
|
||||
with import ./config.nix;
|
||||
@ -32,6 +33,7 @@ outPath=$(nix-build --max-silent-time 60 -o "$TEST_ROOT/result" -E "
|
||||
}")
|
||||
|
||||
wait $pid
|
||||
wait $pid2
|
||||
|
||||
(! test -e $running)
|
||||
(! test -e $dummy)
|
||||
|
Loading…
Reference in New Issue
Block a user