1 start_server
default.conf
{{requirepass foobar
}} {
2 test
{AUTH fails when a wrong password is given
} {
3 catch {r auth wrong
!} err
5 } {ERR
*invalid password
}
7 test
{Arbitrary command gives an
error when AUTH is required
} {
8 catch {r
set foo bar
} err
10 } {ERR
*operation not permitted
}
12 test
{AUTH succeeds when the right password is given
} {