Add AUTH arity test (#10266)

Add test for AUTH with too many arguments
This commit is contained in:
Wen Hui
2022-02-09 22:09:20 +02:00
committed by GitHub
parent ceeff6bf86
commit 64e1e7e207
+5
View File
@@ -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}} {