diff --git a/mysql-test/t/mysql.test b/mysql-test/t/mysql.test index cffa6392fa3..32fdc4b8eed 100644 --- a/mysql-test/t/mysql.test +++ b/mysql-test/t/mysql.test @@ -385,7 +385,10 @@ drop tables t1, t2; # # Bug #27884: mysql --html does not quote HTML special characters in output # ---exec $MYSQL --html test -e "select '< & >' as '<'" +--write_file $MYSQLTEST_VARDIR/tmp/bug27884.sql +SELECT '< & >' AS `<`; +EOF +--exec $MYSQL --html test < $MYSQLTEST_VARDIR/tmp/bug27884.sql # # Bug #27884: mysql client + null byte