From d4801835673eded2de2ba486678d03097578ae9a Mon Sep 17 00:00:00 2001 From: ChaYoung You Date: Mon, 25 Aug 2014 16:02:51 +0900 Subject: [PATCH] Mention `$fbase` which of output was not found --- test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index 911fc00..638c9a8 100755 --- a/test.sh +++ b/test.sh @@ -18,8 +18,8 @@ for d in $ds; do echo 'testset:' $d for f in $d/*.aheui; do fbase=`basename "$f" .aheui` + echo -n " test $fbase"... if [ -e "$d/$fbase".out ]; then - echo -n " test $fbase"... if [ -e "$d/$fbase".in ]; then out=`$AHEUI $f < $d/$fbase.in` else @@ -34,7 +34,7 @@ for d in $ds; do echo "fail!" fi else - echo ' test output not found' + echo 'output not found' fi done done