No need to escape a single quote.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
tests/virnetsockettest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/virnetsockettest.c b/tests/virnetsockettest.c
index 447cbee89c..0928f7056a 100644
--- a/tests/virnetsockettest.c
+++ b/tests/virnetsockettest.c
@@ -664,7 +664,7 @@ mymain(void)
.netcat = "/tmp/fo o/nc",
.path = "/tmp/socket",
.expectOut = "-T -e none -- somehost sh -c '"
- "if \'''\\''/tmp/fo
o/nc'\\'''' -q 2>&1 | grep \"requires an argument\"
>/dev/null 2>&1; then "
+ "if '''\\''/tmp/fo
o/nc'\\'''' -q 2>&1 | grep \"requires an argument\"
>/dev/null 2>&1; then "
"ARG=-q0;"
"else "
"ARG=;"
--
2.34.1