git.annexia.org
/
virt-what.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Arrange tests in subdirectories.
[virt-what.git]
/
tests
/
aws-kvm-x86
/
test.sh
diff --git
a/tests/test-aws-kvm-x86.sh
b/tests/aws-kvm-x86/test.sh
similarity index 94%
rename from
tests/test-aws-kvm-x86.sh
rename to
tests/aws-kvm-x86/test.sh
index
db4c19f
..
133ef13
100755
(executable)
--- a/
tests/test-aws-kvm-x86.sh
+++ b/
tests/aws-kvm-x86/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.
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-root=tests/aws-kvm-x86
-
-output="$(./virt-what --test-root=$root 2>&1)"
+output="$(PATH=../..:$PATH virt-what --test-root=. 2>&1)"
expected="kvm
aws"
expected="kvm
aws"