mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
virnetsockettest: Drop unnecessary backslash
No need to escape a single quote. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
622e6293d9
commit
5bf9902012
@ -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=;"
|
||||
|
Loading…
x
Reference in New Issue
Block a user