2010/10/15 Eric Blake <eblake(a)redhat.com>:
* tests/virshtest.c (mymain): Add tests of command parsing and
echo command.
---
No patch series is complete without decent tests. This should
cover all of the recent virsh command-line parsing improvements
(various quoting styles, empty argument support, -- support),
as well as stress-testing the new echo command.
tests/virshtest.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 97 insertions(+), 0 deletions(-)
You really try to cover all edge cases here :)
ACK.
Matthias