From 2ab08e6cb1d0538f4b0cbeb618c2e2e0ac325049 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 25 Feb 2013 23:18:44 +0100 Subject: [PATCH] tests: Test XML entities in source path for RNG device Users may want to specify XML entities in paths to devices. Ensure they are parsed and used properly. --- tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-random.args | 7 ++++++- tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-random.xml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-random.args b/tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-random.args index 4611ae5406..ad271321e7 100644 --- a/tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-random.args +++ b/tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-random.args @@ -1 +1,6 @@ -LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test /usr/bin/qemu -S -M pc -m 214 -smp 1 -nographic -nodefaults -monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c -usb -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -object rng-random,id=rng0,filename=/test/phile -device virtio-rng-pci,rng=rng0,bus=pci.0,addr=0x4 +LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test /usr/bin/qemu \ +-S -M pc -m 214 -smp 1 -nographic -nodefaults \ +-monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c -usb \ +-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 \ +-object 'rng-random,id=rng0,filename=/test/ph - /test/phile + /test/ph<ile -- GitLab