tests/test-backwards-remove
author Thomas Arendsen Hein <thomas@intevation.de>
Wed, 19 Apr 2006 07:09:15 +0200
changeset 2088 f16435b45780
parent 1933 7544700fd931
permissions -rwxr-xr-x
Exit test-hup only after the background process has died. Otherwise the open file might let the tests fail on NFS.

#!/bin/sh
hg init
echo This is file a1 > a
hg add a
hg commit -m "commit #0" -d "1000000 0"
ls
echo This is file b1 > b
hg add b
hg commit -m "commit #1" -d "1000000 0"
hg co 0
# B should disappear
ls