diff tests/test-inotify.t @ 18595:37479af47bd0

test-inotify.t: migrate to killdaemons from kill `cat pidfile`
author Augie Fackler <raf@durin42.com>
date Sat, 09 Feb 2013 05:36:19 -0600
parents 8c4e4661a0cb
children
line wrap: on
line diff
--- a/tests/test-inotify.t	Sat Feb 09 05:35:20 2013 -0600
+++ b/tests/test-inotify.t	Sat Feb 09 05:36:19 2013 -0600
@@ -32,7 +32,7 @@
 
 make sure that pidfile worked. Output should be silent.
 
-  $ kill `cat ../hg2.pid`
+  $ "$TESTDIR/killdaemons.py" ../hg2.pid
   $ cd ../repo1
 
 inserve
@@ -157,7 +157,7 @@
 build/x & build/y shouldn't appear in "hg st"
 
   $ hg st
-  $ kill `cat hg.pid`
+  $ "$TESTDIR/killdaemons.py" hg.pid
 
   $ cd ..
 
@@ -179,4 +179,4 @@
   abort: inotify-server: cannot start: socket is already bound
   [255]
 
-  $ kill `cat hg3.pid`
+  $ "$TESTDIR/killdaemons.py" hg3.pid