# HG changeset patch # User Matt Mackall # Date 2010-09-26 18:43:21 # Node ID 5ae8711ea32463320645cba80698782b324a14bd # Parent 1f74b0d0f4856efbf8a0d1fd614c636b8fd43fd5 tests: unify test-inotify-lookup diff --git a/tests/test-inotify-lookup.out b/tests/test-inotify-lookup.out deleted file mode 100644 --- a/tests/test-inotify-lookup.out +++ /dev/null @@ -1,1 +0,0 @@ -a diff --git a/tests/test-inotify-lookup b/tests/test-inotify-lookup.t old mode 100755 new mode 100644 rename from tests/test-inotify-lookup rename to tests/test-inotify-lookup.t --- a/tests/test-inotify-lookup +++ b/tests/test-inotify-lookup.t @@ -1,18 +1,14 @@ -#!/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` - + $ "$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`