Follow upstream changes -- rest
[git-darcs-import.git] / tests / issue1041.sh
blob8810f699c40459757a446e9863f76a7aa10eb0d1
1 #!/usr/bin/env bash
2 set -ev
4 ## The builtin ! has the wrong semantics for not.
5 not () { "$@" && exit 1 || :; }
7 rm -rf temp1 temp2
9 # this should fail, since temp1 doesn't exist...
10 not darcs get temp1 temp2
12 # verify that temp2 wasn't created
13 not cd temp2
15 rm -rf temp1 temp2