Wait for pid

This commit is contained in:
Eelco Dolstra 2023-06-21 16:17:21 +02:00
parent c5fdbdae32
commit 3859b42597

View file

@ -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)