Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
fc992b06
Commit
fc992b06
authored
Apr 04, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add "skip" function, makeing mysqltest return an
error code indicating test should be skipped
parent
19801cbf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
client/mysqltest.c
client/mysqltest.c
+5
-1
No files found.
client/mysqltest.c
View file @
fc992b06
...
@@ -276,7 +276,7 @@ enum enum_commands {
...
@@ -276,7 +276,7 @@ enum enum_commands {
Q_IF
,
Q_IF
,
Q_DISABLE_PARSING
,
Q_ENABLE_PARSING
,
Q_DISABLE_PARSING
,
Q_ENABLE_PARSING
,
Q_REPLACE_REGEX
,
Q_REMOVE_FILE
,
Q_FILE_EXIST
,
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_CHMOD_FILE
,
Q_APPEND_FILE
,
Q_CAT_FILE
,
Q_DIFF_FILES
,
Q_UNKNOWN
,
/* Unknown command. */
Q_UNKNOWN
,
/* Unknown command. */
...
@@ -358,6 +358,7 @@ const char *command_names[]=
...
@@ -358,6 +358,7 @@ const char *command_names[]=
"die"
,
"die"
,
/* Don't execute any more commands, compare result */
/* Don't execute any more commands, compare result */
"exit"
,
"exit"
,
"skip"
,
"chmod"
,
"chmod"
,
"append_file"
,
"append_file"
,
"cat_file"
,
"cat_file"
,
...
@@ -6258,6 +6259,9 @@ int main(int argc, char **argv)
...
@@ -6258,6 +6259,9 @@ int main(int argc, char **argv)
/* Stop processing any more commands */
/* Stop processing any more commands */
abort_flag
=
1
;
abort_flag
=
1
;
break
;
break
;
case
Q_SKIP
:
abort_not_supported_test
(
"%s"
,
command
->
first_argument
);
break
;
case
Q_RESULT
:
case
Q_RESULT
:
die
(
"result, deprecated command"
);
die
(
"result, deprecated command"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment