Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
10343:b8e3aeb7542c | 10344:9501cde4c034 |
---|---|
1 % fail | 1 % fail |
2 abort: inotify-server: cannot start: .hg/inotify.sock is a broken symlink | 2 abort: inotify-server: cannot start: .hg/inotify.sock is a broken symlink |
3 inotify-client: could not talk to new inotify server: No such file or directory | 3 inotify-client: could not start inotify server: child process failed to start |
4 abort: inotify-server: cannot start: .hg/inotify.sock is a broken symlink | 4 abort: inotify-server: cannot start: .hg/inotify.sock is a broken symlink |
5 % inserve | 5 % inserve |
6 % status | 6 % status |
7 ? hg.pid | 7 ? hg.pid |