This was the problem:
qemu-img: Could not open '../guests/fedora-btrfs.img': No such file or
directory
I needed to run "make -C tests/guest check" before I could run the
mountable test.
Anyway, I'm resending you the remaining patches. Those one pass the test. I
should have been more conservative when touching existing code.
Nikos
On 03/12/14 14:18, Richard W.M. Jones wrote:
On Wed, Dec 03, 2014 at 02:10:08PM +0200, Nikos Skalkotos wrote:
> Hello,
>
> I've been trying to run the tests from master, before applying my
> patches and it's not not working. I always get this:
>
> # make -C tests/mountable check
> make: Entering directory `/root/src/libguestfs/tests/mountable'
> make test-internal-parse-mountable
> make[1]: Entering directory `/root/src/libguestfs/tests/mountable'
> make[1]: `test-internal-parse-mountable' is up to date.
> make[1]: Leaving directory `/root/src/libguestfs/tests/mountable'
> make check-TESTS
> make[1]: Entering directory `/root/src/libguestfs/tests/mountable'
> 24 seconds: ./test-internal-parse-mountable
> PASS: test-internal-parse-mountable
> /root/src/libguestfs/run --test ./test-mountable-inspect.sh
> libguestfs: error: qemu-img: test.qcow2: qemu-img exited with error
> status 1.
> To see full error messages you may need to enable debugging.
> See
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
> /root/src/libguestfs/run: command failed with exit code 1
> FAIL: test-mountable-inspect.sh
That's a different one from the error I was seeing last night. Enable
debugging to find out what's really going on.
$ make -C tests/mountable check LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
Rich.