From 00dd448cffea27e58e0e4ecdc70257af6dda419c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 24 Sep 2009 06:23:57 +0000 Subject: Add count/not tools as executables. - Apparently, I'm willing to do incredibly stupid things in the name of portability. llvm-svn: 82685 --- llvm/test/Scripts/count | 17 ----------------- llvm/test/Scripts/not | 12 ------------ 2 files changed, 29 deletions(-) delete mode 100755 llvm/test/Scripts/count delete mode 100755 llvm/test/Scripts/not (limited to 'llvm/test/Scripts') 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 - -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 - -if "$@" -then exit 1 -else exit 0 -fi -- cgit v1.2.3