view tests/test-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 b62d1e738fa9
children 6a104941d56a
line wrap: on
line source

#!/bin/sh

hg init a
cd a
echo a > foo
hg add foo
hg commit -m 1 -d "0 0"
rm foo
hg remove foo
hg commit -m 2 -d "0 0"

cd ..
hg clone a b