Bug #57967 rpl.rpl_packet test broken on windows, no tail or grep
Submitted: 4 Nov 2010 10:20 Modified: 11 Nov 2010 6:51
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Replication Severity:S3 (Non-critical)
Version:next-mr OS:Windows
Assigned to: CPU Architecture:Any

[4 Nov 2010 10:20] Tor Didriksen
Description:
rpl.rpl_packet [ fail ]
        Test ended at 2010-11-03 20:04:16

CURRENT_TEST: rpl.rpl_packet
'grep' is not recognized as an internal or external command,
operable program or batch file.
mysqltest: At line 201: command "$MYSQL_BINLOG $MYSQLD_DATADIR/$binlog_file 2> $MYSQLD_TMPDIR/warning.txt
| grep 'end_log_pos'
 | tail -n 1" failed

How to repeat:
perl mysql-test-run.pl rpl.rpl_packet 

Suggested fix:
Don't use unix-specific commands in tests.
[4 Nov 2010 10:23] Davi Arnaut
http://forge.mysql.com/wiki/How_to_Create_Good_Tests#Use_of_OS-specific_commands
[8 Nov 2010 3:01] Daogang Qu
Bug #57967 is fixed in the post fix patch of BUG#55790.
[11 Nov 2010 6:51] Tor Didriksen
This was a regression, introduced by BUG#55790.
Anyways: fixed now, so closing.