tests/test-notfound
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 16 Oct 2006 18:01:25 -0300
changeset 3418 7012c889e8f2
parent 910 891b6a262c4b
permissions -rwxr-xr-x
portability fixes for some tests Apparently the ls on OS X 10.3.9 exits with success even if the file given on the command line doesn't exist

#!/bin/sh

hg init

echo "Is there an error message when trying to diff non-existing files?"
hg diff not found

echo "Is there an error message when trying to add non-existing files?"
hg add not found