Exit test-hup only after the background process has died.
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 19 Apr 2006 07:09:15 +0200
changeset 2088 f16435b45780
parent 2087 19fcc2889bad
child 2089 cb99c711c59f
Exit test-hup only after the background process has died. Otherwise the open file might let the tests fail on NFS.
tests/test-hup
--- a/tests/test-hup	Tue Apr 18 20:33:33 2006 -0700
+++ b/tests/test-hup	Wed Apr 19 07:09:15 2006 +0200
@@ -9,7 +9,7 @@
 Q=$!
 sleep 1
 kill -HUP $P
-sleep 1
+wait
 ls .hg