--- check.sh~ 2006-11-14 17:49:56.000000000 -0500 +++ check.sh 2006-11-14 17:51:36.000000000 -0500 @@ -61,7 +61,7 @@ # they exit with non-zero status for i in *.red; do echo $i - if $i; then + if ./$i; then echo "*** The script $i exited abnormally ***" fi done > errs.ck 2>&1 @@ -82,7 +82,7 @@ # Run the remainding scripts; they exit with zero status for i in *.ed; do base=`echo $i | sed 's/\.ed$//'` - if $base.ed; then + if ./$base.ed; then if cmp -s $base.o ${testdir}/$base.r; then :; else echo "*** Output $base.o of script $i is incorrect ***" fi