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
7a1eff0a
Commit
7a1eff0a
authored
Jun 09, 2021
by
Elena Stepanova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-25884 Tests use environment $USER variable without quotes
parent
c872125a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
mysql-test/suite/mariabackup/auth_plugin_win.result
mysql-test/suite/mariabackup/auth_plugin_win.result
+1
-1
mysql-test/suite/mariabackup/auth_plugin_win.test
mysql-test/suite/mariabackup/auth_plugin_win.test
+1
-1
mysql-test/suite/plugins/r/unix_socket.result
mysql-test/suite/plugins/r/unix_socket.result
+2
-2
mysql-test/suite/plugins/t/unix_socket.test
mysql-test/suite/plugins/t/unix_socket.test
+6
-6
No files found.
mysql-test/suite/mariabackup/auth_plugin_win.result
View file @
7a1eff0a
INSTALL SONAME 'auth_named_pipe';
CREATE USER 'USERNAME' IDENTIFIED WITH named_pipe;
GRANT ALL PRIVILEGES ON *.* to
USERNAME
;
GRANT ALL PRIVILEGES ON *.* to
'USERNAME'
;
DROP USER 'USERNAME';
UNINSTALL SONAME 'auth_named_pipe';
mysql-test/suite/mariabackup/auth_plugin_win.test
View file @
7a1eff0a
...
...
@@ -18,7 +18,7 @@ INSTALL SONAME 'auth_named_pipe';
--
replace_result
$USERNAME
USERNAME
eval
CREATE
USER
'$USERNAME'
IDENTIFIED
WITH
named_pipe
;
--
replace_result
$USERNAME
USERNAME
eval
GRANT
ALL
PRIVILEGES
ON
*.*
to
$USERNAME
;
eval
GRANT
ALL
PRIVILEGES
ON
*.*
to
'$USERNAME'
;
let
$targetdir
=
$MYSQLTEST_VARDIR
/
tmp
/
backup
;
--
disable_result_log
...
...
mysql-test/suite/plugins/r/unix_socket.result
View file @
7a1eff0a
...
...
@@ -2,7 +2,7 @@ install plugin unix_socket soname 'auth_socket.so';
#
# with named user
#
create user
USER
identified via unix_socket;
create user
'USER'
identified via unix_socket;
#
# name match = ok
#
...
...
@@ -12,7 +12,7 @@ USER@localhost USER@% test
#
# name does not match = failure
#
drop user
USER
;
drop user
'USER'
;
#
# and now with anonymous user
#
...
...
mysql-test/suite/plugins/t/unix_socket.test
View file @
7a1eff0a
...
...
@@ -12,9 +12,9 @@ eval install plugin unix_socket soname '$AUTH_SOCKET_SO';
--
echo
# with named user
--
echo
#
--
let
$replace
=
create
user
$USER
--
replace_result
$replace
"create user
USER
"
eval
create
user
$USER
identified
via
unix_socket
;
--
let
$replace
=
create
user
'$USER'
--
replace_result
$replace
"create user
'USER'
"
eval
create
user
'$USER'
identified
via
unix_socket
;
--
write_file
$MYSQLTEST_VARDIR
/
tmp
/
peercred_test
.
txt
--
let
$replace1
=
$USER
@
localhost
...
...
@@ -34,9 +34,9 @@ EOF
--
error
1
--
exec
$MYSQL_TEST
-
u
foobar
--
plugin
-
dir
=
$plugindir
<
$MYSQLTEST_VARDIR
/
tmp
/
peercred_test
.
txt
--
let
$replace
=
drop
user
$USER
--
replace_result
$replace
"drop user
USER
"
eval
drop
user
$USER
;
--
let
$replace
=
drop
user
'$USER'
--
replace_result
$replace
"drop user
'USER'
"
eval
drop
user
'$USER'
;
--
echo
#
--
echo
# and now with anonymous user
...
...
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