New script for testrunner programs
authorChris Lattner <sabre@nondot.org>
Sat, 28 Jun 2003 22:52:52 +0000 (22:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Jun 2003 22:52:52 +0000 (22:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6956 91177308-0d34-0410-b5e6-96231b3b80d8

test/Scripts/not [new file with mode: 0755]

diff --git a/test/Scripts/not b/test/Scripts/not
new file mode 100755 (executable)
index 0000000..e3b1efe
--- /dev/null
@@ -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