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
/
rhel5-xen-domU-hvm-ia64
/
test.sh
diff --git
a/tests/test-rhel5-xen-domU-hvm-ia64.sh
b/tests/rhel5-xen-domU-hvm-ia64/test.sh
similarity index 93%
rename from
tests/test-rhel5-xen-domU-hvm-ia64.sh
rename to
tests/rhel5-xen-domU-hvm-ia64/test.sh
index
5f29c1b
..
7f84a5c
100755
(executable)
--- a/
tests/test-rhel5-xen-domU-hvm-ia64.sh
+++ b/
tests/rhel5-xen-domU-hvm-ia64/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/rhel5-xen-domU-hvm-ia64
-
-output="$(./virt-what --test-root=$root 2>&1)"
+output="$(PATH=../..:$PATH virt-what --test-root=. 2>&1)"
expected="xen
xen-hvm"
expected="xen
xen-hvm"