summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-04-04 15:15:40 +0200
committerunknown <msvensson@pilot.blaudden>2007-04-04 15:15:40 +0200
commita3583bf3b55f97dddba183d288102edd022c8304 (patch)
treef00fb42201c8170d042c237b6d908ad849329f5a /client
parentaaaf49814682e7eb1c947eef8c59f8b2d20461a1 (diff)
downloadmariadb-git-a3583bf3b55f97dddba183d288102edd022c8304.tar.gz
Add "skip" function, makeing mysqltest return an
error code indicating test should be skipped
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 0a1b3aa239c..c2fd7a4ff0d 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -276,7 +276,7 @@ enum enum_commands {
Q_IF,
Q_DISABLE_PARSING, Q_ENABLE_PARSING,
Q_REPLACE_REGEX, Q_REMOVE_FILE, Q_FILE_EXIST,
- Q_WRITE_FILE, Q_COPY_FILE, Q_PERL, Q_DIE, Q_EXIT,
+ Q_WRITE_FILE, Q_COPY_FILE, Q_PERL, Q_DIE, Q_EXIT, Q_SKIP,
Q_CHMOD_FILE, Q_APPEND_FILE, Q_CAT_FILE, Q_DIFF_FILES,
Q_UNKNOWN, /* Unknown command. */
@@ -358,6 +358,7 @@ const char *command_names[]=
"die",
/* Don't execute any more commands, compare result */
"exit",
+ "skip",
"chmod",
"append_file",
"cat_file",
@@ -6258,6 +6259,9 @@ int main(int argc, char **argv)
/* Stop processing any more commands */
abort_flag= 1;
break;
+ case Q_SKIP:
+ abort_not_supported_test("%s", command->first_argument);
+ break;
case Q_RESULT:
die("result, deprecated command");