summaryrefslogtreecommitdiff
path: root/conformance/findbad
diff options
context:
space:
mode:
authorbehdad <behdad>2001-03-07 16:15:13 +0000
committerbehdad <behdad>2001-03-07 16:15:13 +0000
commitc0ec5c311f024b945e6c8143273164524781983d (patch)
tree0e352828c2a780e4eba8ad10e3e0d7d19cdbfa52 /conformance/findbad
parent0c6d0ab32f45f785f44f6cb0ea90ff53f85cac7a (diff)
Some dead codes removed, some parts rewritten, bitfields used for char
types.
Diffstat (limited to 'conformance/findbad')
-rwxr-xr-xconformance/findbad6
1 files changed, 4 insertions, 2 deletions
diff --git a/conformance/findbad b/conformance/findbad
index cda7fd4..4848a53 100755
--- a/conformance/findbad
+++ b/conformance/findbad
@@ -1,8 +1,10 @@
#!/bin/sh
# Find a single nonconforming test.
-# First command line parameter is the lenght of test in bytes, default is 10.
+# First command line parameter is the length of test in bytes, default is 10.
-path=`dirname $0`
+path=`dirname $(which $0)`
+
+trap 'echo; rm -f $path/test.{in,out,ref} &> /dev/null ; exit' INT
while ! test "`$path/dotest $1`"; do echo -n .; done
shift