tests: unify test-inotify-lookup
authorMatt Mackall <mpm@selenic.com>
Sun, 26 Sep 2010 13:43:21 -0500
changeset 12457 5ae8711ea324
parent 12456 1f74b0d0f485
child 12458 9446bd059da3
tests: unify test-inotify-lookup
tests/test-inotify-lookup
tests/test-inotify-lookup.out
tests/test-inotify-lookup.t
--- a/tests/test-inotify-lookup	Sun Sep 26 13:43:21 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-"$TESTDIR/hghave" inotify || exit 80
-
-hg init
-echo "[extensions]" > .hg/hgrc
-echo "inotify=" >> .hg/hgrc
-hg inserve -d --pid-file .hg/inotify.pid
-
-echo a > a
-hg ci -Aqm0
-hg co -q null
-hg co -q
-hg st
-cat a
-
-kill `cat .hg/inotify.pid`
-
--- a/tests/test-inotify-lookup.out	Sun Sep 26 13:43:21 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-inotify-lookup.t	Sun Sep 26 13:43:21 2010 -0500
@@ -0,0 +1,14 @@
+
+  $ "$TESTDIR/hghave" inotify || exit 80
+  $ hg init
+  $ echo "[extensions]" > .hg/hgrc
+  $ echo "inotify=" >> .hg/hgrc
+  $ hg inserve -d --pid-file .hg/inotify.pid
+  $ echo a > a
+  $ hg ci -Aqm0
+  $ hg co -q null
+  $ hg co -q
+  $ hg st
+  $ cat a
+  a
+  $ kill `cat .hg/inotify.pid`