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
if [ x$RECORD = x1 ]; then
$ECHO "Will not run in record mode without a specific test case."
else
for tf in `ls -1 $TESTDIR/*.$TESTSUFFIX | $SORT`
for tf in $TESTDIR/*.$TESTSUFFIX
do
run_testcase $tf
done
......
--result-file=system_mysql_db
\ No newline at end of file
--result-file=system_mysql_db
......@@ -42,7 +42,7 @@ database="mysql"
bindir="@bindir@"
# Old format where there is only one argument and it's the password
if test "$#" == 1
if test "$#" = 1
then
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