diff options
author | msvensson@pilot.blaudden <> | 2007-04-04 15:40:40 +0200 |
---|---|---|
committer | msvensson@pilot.blaudden <> | 2007-04-04 15:40:40 +0200 |
commit | 678a35874676e1da065df6e971be002ff39b40ba (patch) | |
tree | 01e2de8100326438108685858d9c1caf627d62e4 /mysql-test/t/fix_priv_tables.test | |
parent | 3b1fc84a5e9c9dd113cfa2ddbd61a5d207a8db9a (diff) | |
download | mariadb-git-678a35874676e1da065df6e971be002ff39b40ba.tar.gz |
Skip test cases if the script or binary they need can't be found
Diffstat (limited to 'mysql-test/t/fix_priv_tables.test')
-rw-r--r-- | mysql-test/t/fix_priv_tables.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/fix_priv_tables.test b/mysql-test/t/fix_priv_tables.test index 3a91f41dfcc..3051fd88076 100644 --- a/mysql-test/t/fix_priv_tables.test +++ b/mysql-test/t/fix_priv_tables.test @@ -1,6 +1,13 @@ # Embedded server doesn't support external clients --source include/not_embedded.inc +# Don't run this test if $MYSQL_FIX_PRIVILEGE_TABLES isn't set +# to the location of mysql_fix_privilege_tables.sql +if (`SELECT LENGTH("$MYSQL_FIX_PRIVILEGE_TABLES") <= 0`) +{ + skip Test need MYSQL_FIX_PRIVILEGE_TABLES; +} + # # This is the test for mysql_fix_privilege_tables # It checks that a system tables from mysql 4.1.23 |