Skip to content

Commit

Permalink
Merge pull request #7 from yous/patch-output-not-found
Browse files Browse the repository at this point in the history
Mention `$fbase` even when the output file was not found
  • Loading branch information
puzzlet committed Aug 25, 2014
2 parents 2bfd165 + d480183 commit 4933534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4933534

Please sign in to comment.