* 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 ($self, @commands) = @_;
|
||||||
my $res;
|
my $res;
|
||||||
foreach my $command (@commands) {
|
foreach my $command (@commands) {
|
||||||
@ -270,6 +270,11 @@ sub mustSucceed {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub mustSucceed {
|
||||||
|
succeed @_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
sub waitUntilSucceeds {
|
sub waitUntilSucceeds {
|
||||||
my ($self, $command) = @_;
|
my ($self, $command) = @_;
|
||||||
retry sub {
|
retry sub {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user