Add AUTH arity test (#10266)

Add test for AUTH with too many arguments
This commit is contained in:
Wen Hui 2022-02-09 15:09:20 -05:00 committed by GitHub
parent ceeff6bf86
commit 64e1e7e207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}} {