Mercurial > hg
view tests/test-inotify-issue1208 @ 12153:d598d24a7e67 stable
test-convert-cvs: add a sleep to make test more stable
The recent addition of fuzzy tests introduced a new cvs commit which sometimes
fails.
This adds a sleep to make sure that cvs notices that the file has changed,
similar to how it is done in other tests.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 02 Sep 2010 22:38:12 +0200 |
parents | 9c4e488f105e |
children |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" inotify || exit 80 echo "[extensions]" >> $HGRCPATH echo "inotify=" >> $HGRCPATH p="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" hg init $p cd $p echo % fail ln -sf doesnotexist .hg/inotify.sock hg st hg inserve rm .hg/inotify.sock echo % inserve hg inserve -d --pid-file=hg.pid cat hg.pid >> "$DAEMON_PIDS" echo % status hg status kill `cat hg.pid`