1 start_server
{tags
{"auth"}} {
2 test
{AUTH fails
if there is no password configured server side
} {
8 start_server
{tags
{"auth"} overrides
{requirepass foobar
}} {
9 test
{AUTH fails when a wrong password is given
} {
10 catch {r auth wrong
!} err
12 } {ERR
*invalid password
}
14 test
{Arbitrary command gives an
error when AUTH is required
} {
15 catch {r
set foo bar
} err
17 } {ERR
*operation not permitted
}
19 test
{AUTH succeeds when the right password is given
} {
23 test
{Once AUTH succeeded we can actually
send commands to the server
} {