From: Daniel P. Berrangé Date: Thu, 4 Jan 2024 16:29:42 +0000 (+0000) Subject: qtest: ensure netdev-socket tests have non-overlapping names X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f51d3fb14d4125c00338e74eaa8bbe100f30e6f8;p=qemu.git qtest: ensure netdev-socket tests have non-overlapping names When naming glib tests if the name of one test is a substring of the name of another test, it is not possible to use the '-p /the/name' option to run a single test. Signed-off-by: "Daniel P. Berrangé" Message-ID: <20240104162942.211458-7-berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Signed-off-by: Thomas Huth --- diff --git a/tests/qtest/netdev-socket.c b/tests/qtest/netdev-socket.c index 91441f7922..fc7d11961e 100644 --- a/tests/qtest/netdev-socket.c +++ b/tests/qtest/netdev-socket.c @@ -526,7 +526,7 @@ int main(int argc, char **argv) #ifndef _WIN32 qtest_add_func("/netdev/dgram/unix", test_dgram_unix); #endif - qtest_add_func("/netdev/stream/unix", test_stream_unix); + qtest_add_func("/netdev/stream/unix/oneshot", test_stream_unix); qtest_add_func("/netdev/stream/unix/reconnect", test_stream_unix_reconnect); #ifdef CONFIG_LINUX