Mercurial > hg-stable
view tests/test-inotify-lookup @ 11521:3efadce5b346 stable
extensions: add a few assertions to wrapfunction() and wrapcommand().
Specifically, assert that the given wrapper is callable in both
functions, and assert that the original was also callable in
wrapfunction().
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Fri, 09 Jul 2010 11:04:00 +0200 |
parents | f5c18a581b8b |
children |
line wrap: on
line source
#!/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`