bhyvexml2argvtest: use virCommandToStringFull to strip command path

Currently the tests would fail if the bhyve commands are installed in
different path then /usr/bin. Strip the command path to not depend on
the host environment.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Pavel Hrdina
2021-04-16 20:32:34 +02:00
parent 7e88184b8e
commit a6cc9e46fb
89 changed files with 90 additions and 90 deletions

View File

@@ -1,4 +1,4 @@
/usr/local/sbin/grub-bhyve \
grub-bhyve \
--root hd0,msdos1 \
--device-map '<device.map>' \
--memory 214 \