From 2f590b41e354edda82cf1e4239684e55ca71ab8e Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Sun, 8 Jun 2008 12:06:22 +0200 Subject: [PATCH] [svn r251] fixed arguments checking in runtest script --- tests/runtest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/runtest b/tests/runtest index 042f2b6f..7a561625 100755 --- a/tests/runtest +++ b/tests/runtest @@ -1,7 +1,7 @@ #!/bin/bash # check for command line arguments -if [ -z $1 ] ; then +if [ -z "$1" ] ; then echo "Usage: `basename $0` " exit fi @@ -33,7 +33,7 @@ echo echo "Running new test and storing result in $TARGETFILE ..." echo -if [ -z $DMD ] ; then +if [ -z "$DMD" ] ; then echo "Testing with llvmdc. Set DMD environment variable to select compiler." DMD="llvmdc -O0" else