X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fqemu-smbios-kvm%2Ftest.sh;fp=tests%2Ftest-qemu-smbios-kvm.sh;h=04e291e450b846efaa4d29ed039ed84282322282;hb=44154cf844343296143802a720cd82036e0a5e5b;hp=f4d8e38787438b51a0cc78caacacffd87b8cca6c;hpb=ba7d198c566ed9dc208a1fb2029d95e3eb256e5e;p=virt-what.git diff --git a/tests/test-qemu-smbios-kvm.sh b/tests/qemu-smbios-kvm/test.sh similarity index 94% rename from tests/test-qemu-smbios-kvm.sh rename to tests/qemu-smbios-kvm/test.sh index f4d8e38..04e291e 100755 --- a/tests/test-qemu-smbios-kvm.sh +++ b/tests/qemu-smbios-kvm/test.sh @@ -15,9 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -root=tests/qemu-smbios-kvm - -output="$(./virt-what --test-root=$root 2>&1)" +output="$(PATH=../..:$PATH virt-what --test-root=. 2>&1)" expected="kvm" if [ "$output" != "$expected" ]; then