Bug #83751 MTR tests fail if suite is run as root
Submitted: 9 Nov 2016 11:30
Reporter: Lars Tangvald Email Updates:
Status: Verified Impact on me:
None 
Category:Tests Severity:S3 (Non-critical)
Version:5.7.16 OS:Any
Assigned to: CPU Architecture:Any

[9 Nov 2016 11:30] Lars Tangvald
Description:
If the MTR suite is run as root, certain tests will fail (tested on Ubuntu):

main.mysql_not_windows 
main.grant_user_lock (tries to log in as anonymous user, but is rerouted to root@localhost)
main.mysqld_daemon 
main.mysqld_safe

How to repeat:
* Build server
* Enter builddir/mysql-test
* Run «perl mysql-test-run.pl <testname>», then run again with sudo

Suggested fix:
-