4 ## All these commands SHOULD fail (hence leading NOTs).
5 ## I would use the builtin !, but that has the wrong semantics.
6 not
() { "$@" && exit 1 ||
:; }
12 darcs show bug
--debug 1> stdout
2> stderr || true
17 echo The following
test will fail
if this version of darcs is marked as
19 echo ==================================================================
21 not
grep 'please do not' stderr
23 # The following test fails if HTTP isn't present, but would be a nice test
26 #not grep unable stderr
28 grep 'fake bug' stderr