mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
virnetsockettest: Tweak input for test 7
The important part of the value we assign to "netcat" is that it contains whitespace, so drop everything else to highlight this fact. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
709d190a82
commit
02c9948e36
@ -666,15 +666,15 @@ mymain(void)
|
||||
|
||||
struct testSSHData sshData7 = {
|
||||
.nodename = "somehost",
|
||||
.netcat = "/tmp/fo o/nc",
|
||||
.netcat = "n c",
|
||||
.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 '''\\''n c'\\'''' -q 2>&1 | grep \"requires an argument\" >/dev/null 2>&1; then "
|
||||
"ARG=-q0;"
|
||||
"else "
|
||||
"ARG=;"
|
||||
"fi;"
|
||||
"'''\\''/tmp/fo o/nc'\\'''' $ARG -U /tmp/socket"
|
||||
"'''\\''n c'\\'''' $ARG -U /tmp/socket"
|
||||
"'\n",
|
||||
};
|
||||
VIR_WARNINGS_RESET
|
||||
|
Loading…
Reference in New Issue
Block a user