MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Magnus Svensson Date:March 19 2009 1:42pm
Subject:bzr commit into mysql-5.1 branch (msvensson:2758) Bug#43361
View as plain text  
#At file:///home/msvensson/mysql/bug/43361/ based on revid:msvensson@stripped

 2758 Magnus Svensson	2009-03-19
      Bug#43361 msyql_client_test output lost
       - Additional patch that discards the output from "exec false" to avoid
         that the new printout need to be recorded in .result file
         Unfortunately it also removes the printout that says the command has failed,
         but the test is only supposed to check that an exec that fails return 1 -> fine anyway.

    modified:
      mysql-test/r/mysqltest.result
      mysql-test/t/mysqltest.test
=== modified file 'mysql-test/r/mysqltest.result'
--- a/mysql-test/r/mysqltest.result	2009-01-15 08:05:51 +0000
+++ b/mysql-test/r/mysqltest.result	2009-03-19 13:42:51 +0000
@@ -215,7 +215,6 @@ source database
 "MySQL: The world's most popular ;open source database"
 echo message echo message
 
-mysqltest: At line 1: command "false" failed
 mysqltest: At line 1: Missing argument in exec
 MySQL
 "MySQL"

=== modified file 'mysql-test/t/mysqltest.test'
--- a/mysql-test/t/mysqltest.test	2009-01-15 08:05:51 +0000
+++ b/mysql-test/t/mysqltest.test	2009-03-19 13:42:51 +0000
@@ -573,7 +573,7 @@ echo ;
 
 # Illegal use of exec
 --error 1
---exec echo "--exec false" | $MYSQL_TEST 2>&1
+--exec echo "--exec false" | $MYSQL_TEST > /dev/null 2>&1
 
 --error 1
 --exec echo "--exec " | $MYSQL_TEST 2>&1


Attachment: [text/bzr-bundle] bzr/msvensson@mysql.com-20090319134251-vrnr6ai4mt0vjzdy.bundle
Thread
bzr commit into mysql-5.1 branch (msvensson:2758) Bug#43361Magnus Svensson19 Mar