X-Git-Url: http://git.annexia.org/?p=virt-what.git;a=blobdiff_plain;f=tests%2Fqemu-smbios%2Ftest.sh;fp=tests%2Ftest-qemu-smbios.sh;h=a6d487e8a98aba6f6d6ecaa5466beca7c14236b5;hp=114470a1e8439114bf18e4534259203ec391447c;hb=44154cf844343296143802a720cd82036e0a5e5b;hpb=ba7d198c566ed9dc208a1fb2029d95e3eb256e5e diff --git a/tests/test-qemu-smbios.sh b/tests/qemu-smbios/test.sh similarity index 94% rename from tests/test-qemu-smbios.sh rename to tests/qemu-smbios/test.sh index 114470a..a6d487e 100755 --- a/tests/test-qemu-smbios.sh +++ b/tests/qemu-smbios/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 - -output="$(./virt-what --test-root=$root 2>&1)" +output="$(PATH=../..:$PATH virt-what --test-root=. 2>&1)" expected="qemu" if [ "$output" != "$expected" ]; then