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
..
2011-10-20 16:02:16 -06:00
2011-07-21 10:34:51 -06:00
2011-11-24 11:44:08 +01:00
2011-06-22 17:13:58 -06:00
2011-11-25 05:37:39 -07:00
2011-05-09 14:02:13 +02:00
2011-07-21 15:02:52 +08:00
2011-12-01 16:08:34 -07:00
2011-02-11 12:32:17 -07:00
2011-11-30 11:43:50 +00:00
2011-11-30 11:43:50 +00:00
2011-07-21 10:34:51 -06:00
2011-08-26 14:18:57 +01:00
2011-07-21 15:57:47 +08:00
2011-12-03 13:03:44 -07:00
2011-12-03 13:03:44 -07:00