diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-28 22:52:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-28 22:52:52 +0000 |
commit | 2b142bd65e73c93dd431df56e4a69f221f41a65d (patch) | |
tree | c6653bb4708472716f71d01f842c34e8b6922ebe | |
parent | c6cab2415195fe24b5c14e6dc62e1f09da7cf96e (diff) | |
download | external_llvm-2b142bd65e73c93dd431df56e4a69f221f41a65d.zip external_llvm-2b142bd65e73c93dd431df56e4a69f221f41a65d.tar.gz external_llvm-2b142bd65e73c93dd431df56e4a69f221f41a65d.tar.bz2 |
New script for testrunner programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6956 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | test/Scripts/not | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Scripts/not b/test/Scripts/not new file mode 100755 index 0000000..e3b1efe --- /dev/null +++ b/test/Scripts/not @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Program: not +# +# Synopsis: Inverse the output of the program specified on the command line +# +# Syntax: not command <arguments> + +if "$@" +then exit 1 +else exit 0 +fi |