mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
54e99644bf
Without this patch, logged command executions can be ambiguous if the command contained any shell metacharacters. This has caused more than one person to attempt to patch clients to add unnecessary quoting, without realizing that the command itself was run with correct args, and only the logged output was ambiguous. * src/util/command.c (virCommandToString): Add shell escapes. * tests/commandtest.c (test16): Test new behavior. * tests/commanddata/test16.log: Update expected output. * tests/qemuxml2argvdata/qemuxml2argv-*.args: Likewise. * tests/networkxml2argvdata/*.argv: Likewise. |
||
---|---|---|
.. | ||
test2.log | ||
test3.log | ||
test4.log | ||
test5.log | ||
test6.log | ||
test7.log | ||
test8.log | ||
test9.log | ||
test10.log | ||
test11.log | ||
test12.log | ||
test13.log | ||
test14.log | ||
test15.log | ||
test16.log | ||
test20.log |