mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
tools: The programs are located in the source directory.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user