Commit f4b02f99 authored by unknown's avatar unknown

Portability fixes


mysql-test/mysql-test-run.sh:
  Avoid 'too many arguments' error
mysql-test/t/system_mysql_db_fix-master.opt:
  Add missing newline
scripts/mysql_fix_privilege_tables.sh:
  Portability fix
parent b7468a97
...@@ -1447,7 +1447,7 @@ then ...@@ -1447,7 +1447,7 @@ then
if [ x$RECORD = x1 ]; then if [ x$RECORD = x1 ]; then
$ECHO "Will not run in record mode without a specific test case." $ECHO "Will not run in record mode without a specific test case."
else else
for tf in `ls -1 $TESTDIR/*.$TESTSUFFIX | $SORT` for tf in $TESTDIR/*.$TESTSUFFIX
do do
run_testcase $tf run_testcase $tf
done done
......
...@@ -42,7 +42,7 @@ database="mysql" ...@@ -42,7 +42,7 @@ database="mysql"
bindir="@bindir@" bindir="@bindir@"
# Old format where there is only one argument and it's the password # Old format where there is only one argument and it's the password
if test "$#" == 1 if test "$#" = 1
then then
case "$1" in case "$1" in
--*) ;; --*) ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment