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
75891eda
Commit
75891eda
authored
Aug 03, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve pam_cleartext.test a bit
parent
5265243c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
mysql-test/suite/plugins/r/pam_cleartext.result
mysql-test/suite/plugins/r/pam_cleartext.result
+3
-0
mysql-test/suite/plugins/t/pam_cleartext.test
mysql-test/suite/plugins/t/pam_cleartext.test
+12
-2
No files found.
mysql-test/suite/plugins/r/pam_cleartext.result
View file @
75891eda
...
...
@@ -5,6 +5,9 @@ grant proxy on pam_test to test_pam;
show variables like 'pam%';
Variable_name Value
pam_use_cleartext_plugin ON
#
# same test as in pam.test now fails
#
drop user test_pam;
drop user pam_test;
uninstall plugin pam;
mysql-test/suite/plugins/t/pam_cleartext.test
View file @
75891eda
...
...
@@ -3,10 +3,20 @@
show
variables
like
'pam%'
;
--
write_file
$MYSQLTEST_VARDIR
/
tmp
/
pam_good
.
txt
not
very
secret
challenge
9225
select
user
(),
current_user
(),
database
();
EOF
--
echo
#
--
echo
# same test as in pam.test now fails
--
echo
#
--
error
1
--
exec
echo
FAIL
|
$MYSQL_TEST
-
u
test_pam
--
plugin
-
dir
=
$plugindir
--
exec
$MYSQL_TEST
-
u
test_pam
--
plugin
-
dir
=
$plugindir
<
$MYSQLTEST_VARDIR
/
tmp
/
pam_good
.
txt
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
pam_good
.
txt
drop
user
test_pam
;
drop
user
pam_test
;
uninstall
plugin
pam
;
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