Arrange tests in subdirectories.
[virt-what.git] / tests / aws-kvm-arm / test.sh
similarity index 94%
rename from tests/test-aws-kvm-arm.sh
rename to tests/aws-kvm-arm/test.sh
index 8875421..5d31995 100755 (executable)
@@ -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/aws-kvm-arm
-
-output="$(./virt-what --test-root=$root 2>&1)"
+output="$(PATH=../..:$PATH virt-what --test-root=. 2>&1)"
 # XXX At the moment KVM cannot be detected on this platform.
 # We hope to fix that, but for now the only fact printed is "aws".
 expected="aws"