mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
fish: Add $srcdir in several places where test files exist in the source directory.
This commit is contained in:
@@ -33,7 +33,7 @@ rm -rf original copy
|
||||
|
||||
mkdir original
|
||||
cp $srcdir/../tests/data/known* original
|
||||
cp -P $srcdir/../tests/data/abssymlink* original
|
||||
cp -P ../tests/data/abssymlink* original
|
||||
|
||||
output=$(
|
||||
./guestfish -N fs -m /dev/sda1 <<EOF
|
||||
|
||||
@@ -29,6 +29,6 @@ mount-ro /dev/sda /
|
||||
read-file /helloworld.tar
|
||||
EOF
|
||||
|
||||
cmp ../tests/data/helloworld.tar test.out
|
||||
cmp $srcdir/../tests/data/helloworld.tar test.out
|
||||
|
||||
rm -f test.out
|
||||
|
||||
Reference in New Issue
Block a user