bhyvexml2argvtest: Use internal wrapping of command line arguments

virCommandToString has the possibility to return an already wrapped
string with better format than what we get from the test wrapper script.

The main advantage is that arguments for an option are always on the
same line which makes it more easy to see what changed in a diff and
prevents re-wrapping of the line if a wrapping point moves over the
threshold.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Peter Krempa
2021-03-31 10:46:36 +02:00
parent 13ffa48d2f
commit 2dcbdc7f4b
88 changed files with 181 additions and 104 deletions

View File

@@ -1,3 +1,4 @@
/usr/sbin/bhyveload \
-m 214 \
-d /tmp/freebsd1.img bhyve
-d /tmp/freebsd1.img \
bhyve