From bc85d22bf0034ed4125c6f01552cb174a7151e32 Mon Sep 17 00:00:00 2001 From: Elena Stepanova Date: Mon, 9 Oct 2017 02:49:50 +0300 Subject: [PATCH] MDEV-12263 Feature: skipped test file Post-fix: RedHat does not use rh-skipped-tests.list anymore --- mysql-test/README | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mysql-test/README b/mysql-test/README index 707820b47ee27..c4ded4e8e796c 100644 --- a/mysql-test/README +++ b/mysql-test/README @@ -15,15 +15,14 @@ In Red Hat distributions, you should run the script as user "mysql". The user is created with nologin shell, so the best bet is something like # su - # cd /usr/share/mysql-test - # su -s /bin/bash mysql -c "./mysql-test-run --skip-test-list=rh-skipped-tests.list" + # su -s /bin/bash mysql -c "./mysql-test-run --skip-test-list=unstable-tests" -This will use the installed MariaDB executables, but will run a private copy -of the server process (using data files within /usr/share/mysql-test), +This will use the installed MariaDB executables, but will run a private +copy of the server process (using data files within /usr/share/mysql-test), so you need not start the mysqld service beforehand. -"rh-skipped-tests.list" is Red Hat version of unstable-tests list, it -additionally includes tests known to fail specifically on Red Hat builds. -You can omit it if you want to check whether such failures occur for you. +You can omit --skip-test-list option if you want to check whether +the listed failures occur for you. To clean up afterwards, remove the created "var" subdirectory, e.g. # su -s /bin/bash - mysql -c "rm -rf /usr/share/mysql-test/var"