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