[libvirt PATCH 04/11] virnetsockettest: Move opening quote

Andrea Bolognani abologna at redhat.com
Fri Feb 11 17:39:12 UTC 2022


Make this test case consistent with all the other ones.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 tests/virnetsockettest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/virnetsockettest.c b/tests/virnetsockettest.c
index 0928f7056a..429c4e5f9d 100644
--- a/tests/virnetsockettest.c
+++ b/tests/virnetsockettest.c
@@ -630,8 +630,8 @@ mymain(void)
         .nodename = "crashyhost",
         .path = "/tmp/socket",
         .netcat = "nc",
-        .expectOut = "-T -e none -- crashyhost sh -c "
-                     "'if 'nc' -q 2>&1 | grep \"requires an argument\" >/dev/null 2>&1; then "
+        .expectOut = "-T -e none -- crashyhost sh -c '"
+                     "if 'nc' -q 2>&1 | grep \"requires an argument\" >/dev/null 2>&1; then "
                          "ARG=-q0;"
                      "else "
                          "ARG=;"
-- 
2.34.1




More information about the libvir-list mailing list