On a Thursday in 2021, Peter Krempa wrote:
Prevent duplication of code when extending the validator for new
commands. Add a struct describing a command to validate and make the
validation loop a bit more robust to corner cases.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/qemuxml2argvtest.c | 120 +++++++++++++++++++++------------------
1 file changed, 66 insertions(+), 54 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano