]> git.saurik.com Git - redis.git/blobdiff - test/unit/auth.tcl
minor fixes to the new test suite, html doc updated
[redis.git] / test / unit / auth.tcl
diff --git a/test/unit/auth.tcl b/test/unit/auth.tcl
deleted file mode 100644 (file)
index 5bc83de..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-start_server default.conf {{requirepass foobar}} {
-    test {AUTH fails when a wrong password is given} {
-        catch {r auth wrong!} err
-        format $err
-    } {ERR*invalid password}
-    
-    test {Arbitrary command gives an error when AUTH is required} {
-        catch {r set foo bar} err
-        format $err
-    } {ERR*operation not permitted}
-
-    test {AUTH succeeds when the right password is given} {
-        r auth foobar
-    } {OK}
-}