tools: The programs are located in the source directory.

This commit is contained in:
Richard W.M. Jones
2013-04-25 13:34:24 +01:00
parent 9e9be1cee7
commit a30b41f735
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ set -e
# Run virt-list-filesystems.
# Only columns 1 & 2 are guaranteed, we may add more in future.
if [ "$(./virt-list-filesystems -l ../tests/guests/fedora.img |
if [ "$($srcdir/virt-list-filesystems -l ../tests/guests/fedora.img |
sort | awk '{print $1 $2}')" \
!= \
"/dev/VG/LV1ext2

View File

@@ -80,6 +80,6 @@ dd if=/dev/zero of=test.file bs=1024 count=$tarsize
tar -c -f test.tar test.file
rm test.file
./virt-make-fs $params -- test.tar output.img
$srcdir/virt-make-fs $params -- test.tar output.img
rm test.tar output.img

View File

@@ -20,7 +20,7 @@ export LANG=C
set -e
# Read out the test directory using virt-tar.
./virt-tar -x ../tests/guests/fedora.img /bin test.tar
$srcdir/virt-tar -x ../tests/guests/fedora.img /bin test.tar
if [ "$(tar tf test.tar | sort)" != "./
./ls