summaryrefslogtreecommitdiffstats
path: root/llvm/test/Scripts
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-24 06:23:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-24 06:23:57 +0000
commit00dd448cffea27e58e0e4ecdc70257af6dda419c (patch)
treeeffa379ca6f6a012d3a096477a89d162b5f4a74e /llvm/test/Scripts
parent87d8f2b9d56724df6a336a5412ea5c56f0dc8969 (diff)
downloadbcm5719-llvm-00dd448cffea27e58e0e4ecdc70257af6dda419c.tar.gz
bcm5719-llvm-00dd448cffea27e58e0e4ecdc70257af6dda419c.zip
Add count/not tools as executables.
- Apparently, I'm willing to do incredibly stupid things in the name of portability. llvm-svn: 82685
Diffstat (limited to 'llvm/test/Scripts')
-rwxr-xr-xllvm/test/Scripts/count17
-rwxr-xr-xllvm/test/Scripts/not12
2 files changed, 0 insertions, 29 deletions
diff --git a/llvm/test/Scripts/count b/llvm/test/Scripts/count
deleted file mode 100755
index 1c3d7e0953b..00000000000
--- a/llvm/test/Scripts/count
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-#
-# Program: count
-#
-# Synopsis: Count the number of lines of input on stdin and test that it
-# matches the specified number.
-#
-# Syntax: count <number>
-
-set -e
-set -u
-input_lines=`wc -l`
-if [ "$input_lines" -ne "$1" ]; then
- echo "count: expected $1 lines and got ${input_lines}."
- exit 1
-fi
-exit 0
diff --git a/llvm/test/Scripts/not b/llvm/test/Scripts/not
deleted file mode 100755
index e3b1efe35c8..00000000000
--- a/llvm/test/Scripts/not
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/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
OpenPOWER on IntegriCloud