summaryrefslogtreecommitdiff
path: root/mysql-test/create-test-result
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-08-16 17:09:57 +0300
committerbell@sanja.is.com.ua <>2004-08-16 17:09:57 +0300
commit312e4d507604e886bbbc40bb918a8a6fe248cd19 (patch)
tree5f45a67d822ec1b84bfc5ee8d02fc61b005d5e8a /mysql-test/create-test-result
parent6d3c804a88a3f6477358ec5fedc36a962958983b (diff)
downloadmariadb-git-312e4d507604e886bbbc40bb918a8a6fe248cd19.tar.gz
fixed problem spoted by Vladimir V. Kolpakov
Diffstat (limited to 'mysql-test/create-test-result')
-rwxr-xr-xmysql-test/create-test-result4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/create-test-result b/mysql-test/create-test-result
index dc03f5394b9..ad19cdf08a1 100755
--- a/mysql-test/create-test-result
+++ b/mysql-test/create-test-result
@@ -6,7 +6,7 @@
# to start mysqld yourself and run mysqltest -r
RESULT_DIR=r
-if [ -z $EDITOR ] ; then
+if [ -z "$EDITOR" ] ; then
EDITOR=vi
fi
@@ -24,7 +24,7 @@ function usage()
test_name=$1
-[ -z $test_name ] && usage
+[ -z "$test_name" ] && usage
result_file=$RESULT_DIR/$test_name.result
reject_file=$RESULT_DIR/$test_name.reject