From d7c363b3ea7080fc903facda519801f6d2ed8a02 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 19 Nov 2006 09:28:55 +0000 Subject: [PATCH] *** empty log message *** --- ase/test/awk/regress.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ase/test/awk/regress.sh b/ase/test/awk/regress.sh index 10711970..e3bdc6af 100755 --- a/ase/test/awk/regress.sh +++ b/ase/test/awk/regress.sh @@ -18,7 +18,7 @@ test() output=`echo $script | sed 's/\.awk$/.out/g'` ./awk $script emp-en.data > "$output.$pid" - diff $output "$output.$pid" + diff -y $output "$output.$pid" if [ $? -ne 0 ] then echo "###################################" @@ -36,6 +36,12 @@ test() # main # #--------# +if [ ! -x ./awk ] +then + echo "Error: cannot locate a relevant awk interpreter" + exit 1; +fi + if [ $# -ne 1 ] then echo "Usage: $0 init"