tests/test-inotify-issue1208
changeset 6997 9c4e488f105e
parent 6996 fecf060f32a1
--- a/tests/test-inotify-issue1208	Sat Sep 06 12:49:20 2008 +0200
+++ b/tests/test-inotify-issue1208	Sat Sep 06 14:11:33 2008 +0200
@@ -9,7 +9,16 @@
 hg init $p
 cd $p
 
+echo % fail
+ln -sf doesnotexist .hg/inotify.sock
+hg st
+hg inserve
+rm .hg/inotify.sock
+
 echo % inserve
-hg inserve
+hg inserve -d --pid-file=hg.pid
+cat hg.pid >> "$DAEMON_PIDS"
 echo % status
 hg status
+
+kill `cat hg.pid`