changeset 12457:5ae8711ea324

tests: unify test-inotify-lookup
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Sep 2010 13:43:21 -0500
parents 1f74b0d0f485
children 9446bd059da3
files tests/test-inotify-lookup tests/test-inotify-lookup.out tests/test-inotify-lookup.t
diffstat 3 files changed, 14 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- 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`