libvirt/tests/commanddata
Eric Blake 54e99644bf command: shell-quote when logging commands
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.
2012-08-31 08:10:58 -07:00
..
test2.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test3.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test4.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test5.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test6.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test7.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test8.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test9.log command: handle empty buffer argument correctly 2011-12-03 15:55:46 -07:00
test10.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test11.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test12.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test13.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test14.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test15.log Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
test16.log command: shell-quote when logging commands 2012-08-31 08:10:58 -07:00
test20.log command: avoid deadlock on EPIPE situation 2012-06-04 13:06:07 -06:00