From 5bdc1a9db79de461aa86c9533b56092bb1f45d18 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 Feb 2011 15:41:28 +0000 Subject: [PATCH] * Fix the Subversion test. svn path=/nixos/trunk/; revision=26017 --- tests/subversion.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/subversion.nix b/tests/subversion.nix index d43e369b4375..4a1ed62978e4 100644 --- a/tests/subversion.nix +++ b/tests/subversion.nix @@ -96,7 +96,7 @@ in # Bob should not be able change the ACLs of the repo. # !!! Repoman should really return a 403 here. - $client->execute("curl --fail -u bob:fnord -F description=Xyzzy -F readers=alice,bob -F writers=alice -F watchers= -F tardirs= http://webserver/repoman/update/xyzzy") + $client->succeed("curl --fail -u bob:fnord -F description=Xyzzy -F readers=alice,bob -F writers=alice -F watchers= -F tardirs= http://webserver/repoman/update/xyzzy") =~ /not authorised/ or die; # Give Bob access.