Mercurial > hg-stable
changeset 7084:f5c18a581b8b
inotify: add a test for lookup bug
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 10 Oct 2008 12:08:49 -0500 |
parents | 9dcce703edb8 |
children | 1fcc282e2c43 |
files | tests/test-inotify-lookup tests/test-inotify-lookup.out |
diffstat | 2 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-inotify-lookup Fri Oct 10 12:08:49 2008 -0500 @@ -0,0 +1,18 @@ +#!/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` +