Bug #40694 mtr does not --record new results if --vardir is set
Submitted: 13 Nov 2008 10:37 Modified: 14 Nov 2008 11:12
Reporter: Andrei Elkin Email Updates:
Status: Duplicate Impact on me:
None 
Category:Tests: Server Severity:S3 (Non-critical)
Version:5.1-rpl, 6.0-rpl OS:Any
Assigned to: CPU Architecture:Any

[13 Nov 2008 10:37] Andrei Elkin
Description:
While it passes with the main tree mtr OK, an attempt to update a result file
with {5.1,6.0}-rpl as

./mtr --vardir=/dev/shm/var --record alias

ends up with

main.alias                               [ fail ]

CURRENT_TEST: main.alias
mysqltest: Failed to copy '/dev/shm/var/log/.log' to '', errno: 2

 - saving '/dev/shm/var/log/main.alias/' to '/dev/shm/var/log/main.alias/'
------------------------------------------------------------
The servers were restarted 0 times
Spent 0.000 of 2 seconds executing testcases

Failed 1/1 tests, 0.00% were successful.

Failing test(s): main.alias

The log files in var/log may give you some hint of what went wrong.

How to repeat:
bzr branch bzr+ssh://user@bk-internal.mysql.com/bzrroot/server/mysql-{5.1,6.0}-rpl
cd mysql-{5.1,6.0}-rpl
build
cd mysql-test
./mtr --vardir=/dev/shm/var --record alias
[14 Nov 2008 11:12] Andrei Elkin
Bug #40193 is the parent.