diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test
index 99f3bbbbd1490726af1db6826d5e14849024b2cc..4d0a0d24003575d11e33f9dd28955f61c5ef9fee 100644
--- a/mysql-test/t/sp.test
+++ b/mysql-test/t/sp.test
@@ -2944,11 +2944,11 @@ begin
 end|
 --disable_parsing
 --replace_regex /table_id: [0-9]+/table_id: #/
-show binlog events;
-show storage engines;
-show master status;
-show slave hosts;
-show slave status;
+show binlog events|
+show storage engines|
+show master status|
+show slave hosts|
+show slave status|
 --enable_parsing
 
 call bug4902()|