Add the precise_sleep() function to the test suite
This commit is contained in:
parent
58bce15b1e
commit
afe1cd47b0
@ -1268,6 +1268,11 @@ sub run_test() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub precise_sleep {
|
||||||
|
my ($sleeptime) = @_;
|
||||||
|
select(undef, undef, undef, $sleeptime);
|
||||||
|
}
|
||||||
|
|
||||||
sub get_msg() {
|
sub get_msg() {
|
||||||
my $test_hr = shift;
|
my $test_hr = shift;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user