mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -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
|
||||||
|
@ -1 +1 @@
|
|||||||
--result-file=system_mysql_db
|
--result-file=system_mysql_db
|
||||||
|
@ -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
|
||||||
--*) ;;
|
--*) ;;
|
||||||
|
Reference in New Issue
Block a user