tests/test-inotify-issue1208
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 06 Sep 2008 12:49:20 +0200
changeset 6996 fecf060f32a1
child 6997 9c4e488f105e
permissions -rwxr-xr-x
inotify: deactivate inotify status on failure workaround issue1208, add test fix traceback handling (socket.error is a singleton in this case)

#!/bin/sh

"$TESTDIR/hghave" inotify || exit 80

echo "[extensions]" >> $HGRCPATH
echo "inotify=" >> $HGRCPATH

p="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
hg init $p
cd $p

echo % inserve
hg inserve
echo % status
hg status