Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
64e1e7e2
Unverified
Commit
64e1e7e2
authored
Feb 09, 2022
by
Wen Hui
Committed by
GitHub
Feb 09, 2022
Browse files
Add AUTH arity test (#10266)
Add test for AUTH with too many arguments
parent
ceeff6bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/auth.tcl
View file @
64e1e7e2
...
...
@@ -3,6 +3,11 @@ start_server {tags {"auth external:skip"}} {
catch
{
r auth foo
}
err
set _ $err
}
{
ERR*any password*
}
test
{
Arity check for auth command
}
{
catch
{
r auth a b c
}
err
set _ $err
}
{
*syntax error*
}
}
start_server
{
tags
{
"auth external:skip"
}
overrides
{
requirepass foobar
}}
{
...
...
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