diff tests/test-inotify-issue1208.out @ 10344:9501cde4c034

util: make spawndetached() handle subprocess early terminations The file-based synchronization introduced by e22695b4472f hangs when the child process fails before terminating the handshake, which the previous pipe-based version handled correctly. To fix this, the parent polling loop was fixed to detect premature terminations of the child process.
author Patrick Mezard <pmezard@gmail.com>
date Sat, 06 Feb 2010 16:50:00 +0100
parents 8939900073a8
children
line wrap: on
line diff
--- a/tests/test-inotify-issue1208.out	Sat Feb 06 17:31:54 2010 +0100
+++ b/tests/test-inotify-issue1208.out	Sat Feb 06 16:50:00 2010 +0100
@@ -1,6 +1,6 @@
 % fail
 abort: inotify-server: cannot start: .hg/inotify.sock is a broken symlink
-inotify-client: could not talk to new inotify server: No such file or directory
+inotify-client: could not start inotify server: child process failed to start
 abort: inotify-server: cannot start: .hg/inotify.sock is a broken symlink
 % inserve
 % status