From a84ff62478934b33e3f148598ec77c96188d0d31 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 2 Dec 2022 12:02:49 +0000 Subject: [PATCH] tests/nbd: Remove bogus sleep This is no longer needed since qemu-nbd now supports pidfiles Fixes: commit 1eb055bd4631174ddc94107cea5803007b23b522 --- tests/nbd/test-nbd.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/nbd/test-nbd.pl b/tests/nbd/test-nbd.pl index 8119ab305..9eaa0c41d 100755 --- a/tests/nbd/test-nbd.pl +++ b/tests/nbd/test-nbd.pl @@ -86,11 +86,6 @@ sub run_test { } die "qemu-nbd did not start up\n" if ! -f $pidfile; - # XXX qemu-nbd lacks any way to tell if it is awake and listening - # for connections. It could write a pid file or something. Could - # we check that the socket has been opened by looking in netstat? - sleep (2); - my $g = Sys::Guestfs->new (); # Add an NBD drive.