forked from mirrors/nixpkgs
* mustSucceed -> succeed.
svn path=/nixos/trunk/; revision=21943
This commit is contained in:
parent
dd81311714
commit
07df264e0c
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue