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
b59c6786
Commit
b59c6786
authored
Feb 07, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/tmp_merge
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new
parents
4ddcc7cc
a6c508db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
mysql-test/t/information_schema.test
mysql-test/t/information_schema.test
+2
-2
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+11
-11
No files found.
mysql-test/t/information_schema.test
View file @
b59c6786
...
@@ -800,9 +800,9 @@ DROP FUNCTION func2;
...
@@ -800,9 +800,9 @@ DROP FUNCTION func2;
#
#
create
database
mysqltest
;
create
database
mysqltest
;
create
table
mysqltest
.
t1
(
a
int
);
create
table
mysqltest
.
t1
(
a
int
);
--
exec
chmod
-
r
$MYSQL
_TEST_DIR
/
var
/
master
-
data
/
mysqltest
--
exec
chmod
-
r
$MYSQL
TEST_VARDIR
/
master
-
data
/
mysqltest
select
table_schema
from
information_schema
.
tables
where
table_schema
=
'mysqltest'
;
select
table_schema
from
information_schema
.
tables
where
table_schema
=
'mysqltest'
;
--
exec
chmod
+
r
$MYSQL
_TEST_DIR
/
var
/
master
-
data
/
mysqltest
--
exec
chmod
+
r
$MYSQL
TEST_VARDIR
/
master
-
data
/
mysqltest
drop
database
mysqltest
;
drop
database
mysqltest
;
#
#
...
...
mysql-test/t/mysqltest.test
View file @
b59c6786
...
@@ -370,10 +370,10 @@ select 3 from t1 ;
...
@@ -370,10 +370,10 @@ select 3 from t1 ;
# Missing delimiter until eof
# Missing delimiter until eof
# The comment will be "sucked into" the sleep command since
# The comment will be "sucked into" the sleep command since
# delimiter is missing
# delimiter is missing
--
system
echo
"sleep 7"
>
var
/
tmp
/
mysqltest
.
sql
--
system
echo
"sleep 7"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqltest
.
sql
--
system
echo
"# Another comment"
>>
var
/
tmp
/
mysqltest
.
sql
--
system
echo
"# Another comment"
>>
$MYSQLTEST_VARDIR
/
tmp
/
mysqltest
.
sql
--
error
1
--
error
1
--
exec
$MYSQL_TEST
<
var
/
tmp
/
mysqltest
.
sql
2
>&
1
--
exec
$MYSQL_TEST
<
$MYSQLTEST_VARDIR
/
tmp
/
mysqltest
.
sql
2
>&
1
#
#
# Extra delimiter
# Extra delimiter
...
@@ -1002,26 +1002,26 @@ select "this will be executed";
...
@@ -1002,26 +1002,26 @@ select "this will be executed";
#
#
# Test zero length result file. Should not pass
# Test zero length result file. Should not pass
#
#
--
exec
touch
$MYSQL
_TEST_DIR
/
var
/
tmp
/
zero_length_file
.
result
--
exec
touch
$MYSQL
TEST_VARDIR
/
tmp
/
zero_length_file
.
result
--
exec
echo
"echo ok;"
>
$MYSQL
_TEST_DIR
/
var
/
tmp
/
query
.
sql
--
exec
echo
"echo ok;"
>
$MYSQL
TEST_VARDIR
/
tmp
/
query
.
sql
--
error
1
--
error
1
--
exec
$MYSQL_TEST
-
x
var
/
tmp
/
query
.
sql
-
R
var
/
tmp
/
zero_length_file
.
result
2
>&
1
--
exec
$MYSQL_TEST
-
x
$MYSQLTEST_VARDIR
/
tmp
/
query
.
sql
-
R
$MYSQLTEST_VARDIR
/
tmp
/
zero_length_file
.
result
2
>&
1
#
#
# Test that a test file that does not generate any output fails.
# Test that a test file that does not generate any output fails.
#
#
--
exec
echo
"let
\$
i= 1;"
>
$MYSQL
_TEST_DIR
/
var
/
tmp
/
query
.
sql
--
exec
echo
"let
\$
i= 1;"
>
$MYSQL
TEST_VARDIR
/
tmp
/
query
.
sql
--
error
1
--
error
1
--
exec
$MYSQL_TEST
-
x
var
/
tmp
/
query
.
sql
2
>&
1
--
exec
$MYSQL_TEST
-
x
$MYSQLTEST_VARDIR
/
tmp
/
query
.
sql
2
>&
1
#
#
# Test that mysqltest fails when there are no queries executed
# Test that mysqltest fails when there are no queries executed
# but a result file exist
# but a result file exist
# NOTE! This will never happen as long as it's not allowed to have
# NOTE! This will never happen as long as it's not allowed to have
# test files that does not produce any output
# test files that does not produce any output
#--exec echo "something" > $MYSQL
_TEST_DIR/var
/tmp/result_file.result
#--exec echo "something" > $MYSQL
TEST_VARDIR
/tmp/result_file.result
#--exec echo "let \$i= 1;" > $MYSQL
_TEST_DIR/var
/tmp/query.sql
#--exec echo "let \$i= 1;" > $MYSQL
TEST_VARDIR
/tmp/query.sql
#--error 1
#--error 1
#--exec $MYSQL_TEST -x
var/tmp/query.sql -R var
/tmp/result_file.result 2>&1
#--exec $MYSQL_TEST -x
$MYSQLTEST_VARDIR/tmp/query.sql -R $MYSQLTEST_VARDIR
/tmp/result_file.result 2>&1
#
#
# Bug #11731 mysqltest in multi-statement queries ignores errors in
# Bug #11731 mysqltest in multi-statement queries ignores errors in
...
...
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