Details
Description
On a clean Debian with almost nothing installed prior to MariaDB, running mysql-test-run.pl will throw a warning because it tries to run the "patch" tools which hasnt been installed as a dependency of the mariadb-test package.
Here is the error :
root@sqltest1:/usr/share/mysql/mysql-test# ./mysql-test-run.pl invalid-test Logging: ./mysql-test-run.pl invalid-test vardir: /usr/share/mysql/mysql-test/var Checking leftover processes... Removing old var directory... Creating var directory '/usr/share/mysql/mysql-test/var'... Checking supported features... Can't exec "patch": No such file or directory at ./mysql-test-run.pl line 1993. MariaDB Version 5.5.31-MariaDB-1~squeeze Installing system database... - SSL connections supported Collecting tests... mysql-test-run: *** ERROR: Could not find 'invalid-test' in 'main-,archive-,binlog-,csv-,federated-,funcs_1-,funcs_2-,handler-,heap-,innodb-,maria-,optimizer_unfixed_bugs-,oqgraph-,parts-,percona-,perfschema-,plugins-,rpl-,sphinx-,sys_vars-,unit-,vcol-' suite(s)
ps: installing the "patch" package fixes the issue.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
It's not a required dependency, mtr can work without patch too, it'll automatically skip tests that need patching.
I think we should add "patch" as a "suggested" dependency.