libvirt/tests/commanddata
Eric Blake 2b045d39df command: handle empty buffer argument correctly
virBufferContentAndReset (intentionally) returns NULL for a buffer
with no content, but it is feasible to invoke a command with an
explicit empty string.

* src/util/command.c (virCommandAddEnvBuffer): Reject empty string.
(virCommandAddArgBuffer): Allow explicit empty argument.
* tests/commandtest.c (test9): Test it.
* tests/commanddata/test9.log: Adjust.
2011-12-03 15:55:46 -07:00
..
test2.log
test3.log
test4.log
test5.log
test6.log
test7.log
test8.log
test9.log command: handle empty buffer argument correctly 2011-12-03 15:55:46 -07:00
test10.log
test11.log
test12.log
test13.log
test14.log
test15.log
test16.log