tests: Split images -> tests/data + tests/guests
[libguestfs.git] / tests / guests / guest-aux / make-debian-img.sh
similarity index 96%
rename from images/guest-aux/make-debian-img.sh
rename to tests/guests/guest-aux/make-debian-img.sh
index ade2331..b936f81 100755 (executable)
@@ -31,7 +31,7 @@ LABEL=BOOT /boot ext2 default 0 0
 EOF
 
 # Create a disk image.
-../run ../fish/guestfish <<EOF
+../../run ../../fish/guestfish <<EOF
 sparse debian.img.tmp 512M
 run
 
@@ -82,7 +82,7 @@ write /etc/hostname "debian.invalid"
 
 upload ${SRCDIR}/guest-aux/debian-packages /var/lib/dpkg/status
 
-upload ${SRCDIR}/bin-x86_64-dynamic /bin/ls
+upload ${SRCDIR}/../data/bin-x86_64-dynamic /bin/ls
 
 mkdir /boot/grub
 touch /boot/grub/grub.conf