summaryrefslogtreecommitdiff
path: root/tests/bhyvexml2argvdata/bhyvexml2argv-fs-9p.args
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2021-03-31 10:46:36 +0200
committerPeter Krempa <pkrempa@redhat.com>2021-04-12 15:55:10 +0200
commit2dcbdc7f4b722fc7338dba71da70016531895a6e (patch)
treecb66054721f566462de9ea8b6362de0dbef64106 /tests/bhyvexml2argvdata/bhyvexml2argv-fs-9p.args
parent13ffa48d2fb18d1f23338fed721442421abf56c6 (diff)
downloadlibvirt-2dcbdc7f4b722fc7338dba71da70016531895a6e.tar.gz
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>
Diffstat (limited to 'tests/bhyvexml2argvdata/bhyvexml2argv-fs-9p.args')
-rw-r--r--tests/bhyvexml2argvdata/bhyvexml2argv-fs-9p.args3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bhyvexml2argvdata/bhyvexml2argv-fs-9p.args b/tests/bhyvexml2argvdata/bhyvexml2argv-fs-9p.args
index e890f7400b..8943ae211f 100644
--- a/tests/bhyvexml2argvdata/bhyvexml2argv-fs-9p.args
+++ b/tests/bhyvexml2argvdata/bhyvexml2argv-fs-9p.args
@@ -7,4 +7,5 @@
-s 0:0,hostbridge \
-s 2:0,ahci,hd:/tmp/freebsd.img \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:b9:94:02 \
--s 4:0,virtio-9p,shared_dir=/shared/dir bhyve
+-s 4:0,virtio-9p,shared_dir=/shared/dir \
+bhyve