3
0
Fork 0
forked from mirrors/nixpkgs

* mustSucceed -> succeed.

svn path=/nixos/trunk/; revision=21943
This commit is contained in:
Eelco Dolstra 2010-05-22 21:27:38 +00:00
parent dd81311714
commit 07df264e0c

View file

@ -255,7 +255,7 @@ sub execute {
}
sub mustSucceed {
sub succeed {
my ($self, @commands) = @_;
my $res;
foreach my $command (@commands) {
@ -270,6 +270,11 @@ sub mustSucceed {
}
sub mustSucceed {
succeed @_;
}
sub waitUntilSucceeds {
my ($self, $command) = @_;
retry sub {