view tests/test-backwards-remove @ 1279:8ab1c07d4e0b

Add checks for programs which are required for the test suite to run. All prerequisite programs are checked for existance, and if any are missing, a list of missing programs is printed, and the test suite is aborted. All programs currently used in the tests, except those in core-utils, are checked.
author eric@localhost.localdomain
date Mon, 19 Sep 2005 18:24:37 -0700
parents 0902ffece4b4
children 7544700fd931
line wrap: on
line source

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