Unverified Commit 64e1e7e2 authored by Wen Hui's avatar Wen Hui Committed by GitHub
Browse files

Add AUTH arity test (#10266)

Add test for AUTH with too many arguments
parent ceeff6bf
...@@ -3,6 +3,11 @@ start_server {tags {"auth external:skip"}} { ...@@ -3,6 +3,11 @@ start_server {tags {"auth external:skip"}} {
catch {r auth foo} err catch {r auth foo} err
set _ $err set _ $err
} {ERR*any password*} } {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}} { start_server {tags {"auth external:skip"} overrides {requirepass foobar}} {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment