aboutsummaryrefslogtreecommitdiffstats
path: root/test/Scripts
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-28 22:52:52 +0000
committerChris Lattner <sabre@nondot.org>2003-06-28 22:52:52 +0000
commit2b142bd65e73c93dd431df56e4a69f221f41a65d (patch)
treec6653bb4708472716f71d01f842c34e8b6922ebe /test/Scripts
parentc6cab2415195fe24b5c14e6dc62e1f09da7cf96e (diff)
downloadexternal_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
Diffstat (limited to 'test/Scripts')
-rwxr-xr-xtest/Scripts/not12
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