mirror of https://gitee.com/openkylin/libvirt.git
2b045d39df
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. |
||
---|---|---|
.. | ||
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 |