]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virnetsockettest: Move opening quote
authorAndrea Bolognani <abologna@redhat.com>
Wed, 9 Feb 2022 18:23:42 +0000 (19:23 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 14 Feb 2022 10:32:05 +0000 (11:32 +0100)
Make this test case consistent with all the other ones.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/virnetsockettest.c

index 0928f7056ae5340193158c48f37e1973f25325ad..429c4e5f9dcd5a6e568ab285d0dad00e8c0a34c5 100644 (file)
@@ -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=;"