Bug #23125 | [patch] trigger test fails when run as root | ||
---|---|---|---|
Submitted: | 10 Oct 2006 9:17 | Modified: | 30 Jan 2007 3:46 |
Reporter: | Vasil Dimov | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Tests | Severity: | S3 (Non-critical) |
Version: | 5.0.27-BK | OS: | |
Assigned to: | Magnus Blåudd | CPU Architecture: | Any |
Tags: | Contribution |
[10 Oct 2006 9:17]
Vasil Dimov
[10 Oct 2006 9:18]
Vasil Dimov
"Create directory instead of file" patch
Attachment: mysql_test_trigger.diff (text/x-patch), 1.71 KiB.
[10 Oct 2006 9:57]
Valeriy Kravchuk
Thank you for a (known) prolem report (see http://bugs.mysql.com/bug.php?id=21883 as an example) and patch. Let the developers decide is this a proper way to fix that guaranteed test failure when running tests as root (NOT RECOMMENDED, in general).
[10 Oct 2006 10:49]
Vasil Dimov
If it is written somewhere that `make test' should not be run as root - sorry I missed that. While running the server as root is obviously not recommended `make test` is not exactly the same thing. I guess that before starting the actual tests a check for uid 0 should be done and at least a warning be issued to prevent stupid users (like me) from foot-shooting themselves. Sorry for reporing a known issue.
[21 Dec 2006 23:38]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/17288 ChangeSet@1.2353, 2006-12-22 00:38:34+01:00, msvensson@pilot.mysql.com +5 -0 Bug #23125 [patch] trigger test fails when run as root - Skip tests using chmod when running as root
[30 Jan 2007 3:46]
Paul DuBois
Test suite change. No changelog entry needed.