# HG changeset patch # User Matt Mackall # Date 1285526601 18000 # Node ID 5ae8711ea32463320645cba80698782b324a14bd # Parent 1f74b0d0f4856efbf8a0d1fd614c636b8fd43fd5 tests: unify test-inotify-lookup diff -r 1f74b0d0f485 -r 5ae8711ea324 tests/test-inotify-lookup --- 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` - diff -r 1f74b0d0f485 -r 5ae8711ea324 tests/test-inotify-lookup.out --- 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 diff -r 1f74b0d0f485 -r 5ae8711ea324 tests/test-inotify-lookup.t --- /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`