mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
Wait for pid
This commit is contained in:
parent
c5fdbdae32
commit
3859b42597
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ pid=$!
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
(sleep 1; echo > $fifo2) &
|
(sleep 1; echo > $fifo2) &
|
||||||
|
pid2=$!
|
||||||
|
|
||||||
outPath=$(nix-build --max-silent-time 60 -o "$TEST_ROOT/result" -E "
|
outPath=$(nix-build --max-silent-time 60 -o "$TEST_ROOT/result" -E "
|
||||||
with import ./config.nix;
|
with import ./config.nix;
|
||||||
|
@ -32,6 +33,7 @@ outPath=$(nix-build --max-silent-time 60 -o "$TEST_ROOT/result" -E "
|
||||||
}")
|
}")
|
||||||
|
|
||||||
wait $pid
|
wait $pid
|
||||||
|
wait $pid2
|
||||||
|
|
||||||
(! test -e $running)
|
(! test -e $running)
|
||||||
(! test -e $dummy)
|
(! test -e $dummy)
|
||||||
|
|
Loading…
Reference in a new issue