diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-24 06:23:57 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-24 06:23:57 +0000 |
commit | 00dd448cffea27e58e0e4ecdc70257af6dda419c (patch) | |
tree | effa379ca6f6a012d3a096477a89d162b5f4a74e /llvm/test/Scripts | |
parent | 87d8f2b9d56724df6a336a5412ea5c56f0dc8969 (diff) | |
download | bcm5719-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-x | llvm/test/Scripts/count | 17 | ||||
-rwxr-xr-x | llvm/test/Scripts/not | 12 |
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 |