* Fix the Subversion test.

svn path=/nixos/trunk/; revision=26017
This commit is contained in:
Eelco Dolstra 2011-02-17 15:41:28 +00:00
parent 8f5f70b292
commit 5bdc1a9db7

View File

@ -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.