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
4f7a290e
Commit
4f7a290e
authored
Sep 15, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some tests simplified after 12912120
parent
04c402c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
mysql-test/t/mysql_plugin.test
mysql-test/t/mysql_plugin.test
+0
-1
mysql-test/t/mysqld--defaults-file.test
mysql-test/t/mysqld--defaults-file.test
+0
-16
No files found.
mysql-test/t/mysql_plugin.test
View file @
4f7a290e
...
@@ -45,7 +45,6 @@ use File::Basename;
...
@@ -45,7 +45,6 @@ use File::Basename;
my
$plugindir_ini
=
"
$ENV
{
PLUGIN_DIR
}
/daemon_example.ini"
;
my
$plugindir_ini
=
"
$ENV
{
PLUGIN_DIR
}
/daemon_example.ini"
;
my
$notfound
=
""
;
my
$notfound
=
""
;
open
(
FILE
,
">"
,
"
$ENV
{
MYSQL_TMP_DIR
}
/mysqld.inc"
)
or
die
;
open
(
FILE
,
">"
,
"
$ENV
{
MYSQL_TMP_DIR
}
/mysqld.inc"
)
or
die
;
print
FILE
"let
\$
MYSQLD=
$mysqld
;
\n
"
;
print
FILE
"let
\$
MYSQLD_BASEDIR=
$mysqld_basedir
;
\n
"
;
print
FILE
"let
\$
MYSQLD_BASEDIR=
$mysqld_basedir
;
\n
"
;
print
FILE
"let
\$
MYSQL_MY_PRINT_DEFAULTS_BASEDIR=
$my_print_defaults_basedir
;
\n
"
;
print
FILE
"let
\$
MYSQL_MY_PRINT_DEFAULTS_BASEDIR=
$my_print_defaults_basedir
;
\n
"
;
if
((
!-
e
$daemonexample_ini
)
||
(
!-
r
$daemonexample_ini
))
if
((
!-
e
$daemonexample_ini
)
||
(
!-
r
$daemonexample_ini
))
...
...
mysql-test/t/mysqld--defaults-file.test
View file @
4f7a290e
...
@@ -5,21 +5,6 @@
...
@@ -5,21 +5,6 @@
source
include
/
not_embedded
.
inc
;
source
include
/
not_embedded
.
inc
;
source
include
/
not_windows
.
inc
;
source
include
/
not_windows
.
inc
;
# We need to use a plain "mysqld" without any other options to trigger
# the bug. In particular, it seems that passing --bootstrap does not
# trigger the bug. To do that, we extract the "command name" from the
# MYSQLD_BOOTSTRAP_CMD variable and store that in a file, which we
# then load into the test case.
perl
;
my
(
$mysqld
)
=
split
" "
,
$ENV
{
MYSQLD_BOOTSTRAP_CMD
};
open
(
FILE
,
">"
,
"
$ENV
{
MYSQL_TMP_DIR
}
/mysqld.inc"
)
or
die
;
print
FILE
"let
\$
MYSQLD=
$mysqld
;
\n
"
;
close
FILE
;
EOF
source
$MYSQL_TMP_DIR
/
mysqld
.
inc
;
# All these tests refer to configuration files that do not exist
# All these tests refer to configuration files that do not exist
--
error
1
--
error
1
...
@@ -44,4 +29,3 @@ exec $MYSQLD --defaults-file=with.ext --print-defaults 2>&1;
...
@@ -44,4 +29,3 @@ exec $MYSQLD --defaults-file=with.ext --print-defaults 2>&1;
--
error
1
--
error
1
exec
$MYSQLD
--
defaults
-
file
=
no_extension
--
print
-
defaults
2
>&
1
;
exec
$MYSQLD
--
defaults
-
file
=
no_extension
--
print
-
defaults
2
>&
1
;
remove_file
$MYSQL_TMP_DIR
/
mysqld
.
inc
;
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