summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2018-05-12 21:53:50 +0200
committerpgen <p.gen.progs@gmail.com>2018-05-12 21:53:50 +0200
commit50ada5b59d69ef38706200559301fb71edd81701 (patch)
treebd9a9cbe82940cdfba567253dd3d55ee941e2447 /tests
parenta1b31cfbf7fb8cc6fd80f653f48c33e0d05096ce (diff)
Make test.sh more portable
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.sh b/tests/test.sh
index f0c81a8..5acdd12 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -49,7 +49,7 @@ clear
PS1='$ ' $PTYLIE -i $1.tst -l $1.log -w 80 -h 24 sh
$HVLT < $1.log | sed '1,/exit 0/!d' > $1.out
rm -f $1.log $1.bad
-[[ -f $LOG ]] && touch $LOG
+[ -f $LOG ] && touch $LOG
# Add the new log entry,
# If the .good file exists and the .out and the .good files are identical