Make this test case consistent with all the other ones. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- 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