This test was run by doing: $ git clone git://github.com/libguestfs/libguestfs.git $ $ git describe 1.23.0 $ ./autogen.sh && make -j 7 $ time make -k check LIBGUESTFS_DEBUG=1 \ LIBGUESTFS_TRACE=1 |& tee \ /var/tmp/make-check-libugestfs-24-may.log During "make check", if the ./test-list-md-devices.sh fails, add the below to a 'localenv' file in libguestfs git checkout, and re-run "make check". (Thanks Rich Jones.) export SKIP_TEST_MDADM_SH=1 For further tests, run: time make extra-tests the above will run: make check-valgrind Run a subset of the tests under valgrind. make check-valgrind-local-guests Test under valgrind using local guests. make check-direct Test using direct backend. make check-valgrind-direct Test valgrind + direct backend. make check-with-upstream-qemu Test using upstream qemu. make check-with-upstream-libvirt Test using upstream libvirt. make check-slow Slow/long-running tests. Refer "make help" in libguestfs git chekcout for more details.