summaryrefslogtreecommitdiff
path: root/tests/unit/auth.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/auth.tcl')
-rw-r--r--tests/unit/auth.tcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/auth.tcl b/tests/unit/auth.tcl
index 6fa5e0c13..4a4d7564c 100644
--- a/tests/unit/auth.tcl
+++ b/tests/unit/auth.tcl
@@ -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}} {