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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cb3d6101
Commit
cb3d6101
authored
Sep 07, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#12984 mysqltest.test: different output from "exec NonExistsinfComamdn"
- Improved solution
parent
5fa2cea1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
mysql-test/r/mysqltest.result
mysql-test/r/mysqltest.result
+2
-0
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+4
-6
No files found.
mysql-test/r/mysqltest.result
View file @
cb3d6101
...
@@ -179,6 +179,7 @@ source database
...
@@ -179,6 +179,7 @@ source database
echo message echo message
echo message echo message
mysqltest: At line 1: Empty variable
mysqltest: At line 1: Empty variable
mysqltest: At line 1: command "false" failed
mysqltest: At line 1: Missing argument in exec
mysqltest: At line 1: Missing argument in exec
MySQL
MySQL
"MySQL"
"MySQL"
...
@@ -300,6 +301,7 @@ mysqltest: At line 1: First argument to dec must be a variable (start with $)
...
@@ -300,6 +301,7 @@ mysqltest: At line 1: First argument to dec must be a variable (start with $)
mysqltest: At line 1: End of line junk detected: "1000"
mysqltest: At line 1: End of line junk detected: "1000"
mysqltest: At line 1: Missing arguments to system, nothing to do!
mysqltest: At line 1: Missing arguments to system, nothing to do!
mysqltest: At line 1: Missing arguments to system, nothing to do!
mysqltest: At line 1: Missing arguments to system, nothing to do!
mysqltest: At line 1: system command 'false' failed
test
test
test2
test2
test3
test3
...
...
mysql-test/t/mysqltest.test
View file @
cb3d6101
...
@@ -426,9 +426,8 @@ echo ;
...
@@ -426,9 +426,8 @@ echo ;
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Illegal use of exec
# Illegal use of exec
# Disabled, some shells prints the failed command regardless of pipes
--
error
1
#--error 1
--
exec
echo
"--exec false"
|
$MYSQL_TEST
2
>&
1
#--exec echo "--exec ';' 2> /dev/null" | $MYSQL_TEST 2>&1
--
error
1
--
error
1
--
exec
echo
"--exec "
|
$MYSQL_TEST
2
>&
1
--
exec
echo
"--exec "
|
$MYSQL_TEST
2
>&
1
...
@@ -675,9 +674,8 @@ system echo "hej" > /dev/null;
...
@@ -675,9 +674,8 @@ system echo "hej" > /dev/null;
--
exec
echo
"system;"
|
$MYSQL_TEST
2
>&
1
--
exec
echo
"system;"
|
$MYSQL_TEST
2
>&
1
--
error
1
--
error
1
--
exec
echo
"system
$NONEXISTSINFVAREABLI
;"
|
$MYSQL_TEST
2
>&
1
--
exec
echo
"system
$NONEXISTSINFVAREABLI
;"
|
$MYSQL_TEST
2
>&
1
# Disabled, some shells prints the failed command regardless of pipes
--
error
1
#--error 1
--
exec
echo
"system false;"
|
$MYSQL_TEST
2
>&
1
#--exec echo "system NonExistsinfComamdn 2> /dev/null;" | $MYSQL_TEST 2>&1
--
disable_abort_on_error
--
disable_abort_on_error
system
NonExistsinfComamdn
;
system
NonExistsinfComamdn
;
...
...
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