Introduce virsh self-test

A new hidden command for virsh that will iterate over
all command groups and commands and print help for every single one.

This involves running vshCmddefOptParse so we can get an error if
one of the command's option structure is invalid.
This commit is contained in:
Ján Tomko
2016-06-17 19:28:12 +02:00
parent 743bda062b
commit 920ab8bdce
4 changed files with 84 additions and 0 deletions

1
.gitignore vendored
View File

@@ -162,6 +162,7 @@
/tests/*test
/tests/commandhelper
/tests/qemucapsprobe
!/tests/virsh-self-test
!/tests/virt-aa-helper-test
/tests/objectlocking
/tests/objectlocking-files.txt