Author: eelco
Date: Thu Feb 17 15:41:28 2011
New Revision: 26017
URL: https://svn.nixos.org/websvn/nix/?rev=26017&sc=1

Log:
* Fix the Subversion test.

Modified:
   nixos/trunk/tests/subversion.nix

Modified: nixos/trunk/tests/subversion.nix
==============================================================================
--- nixos/trunk/tests/subversion.nix    Thu Feb 17 15:25:54 2011        (r26016)
+++ nixos/trunk/tests/subversion.nix    Thu Feb 17 15:41:28 2011        (r26017)
@@ -96,7 +96,7 @@
 
       # 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.
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to