diff options
Diffstat (limited to 'master/debian/qemu_img_exists.patch')
-rw-r--r-- | master/debian/qemu_img_exists.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/master/debian/qemu_img_exists.patch b/master/debian/qemu_img_exists.patch new file mode 100644 index 0000000..b560067 --- /dev/null +++ b/master/debian/qemu_img_exists.patch @@ -0,0 +1,18 @@ +Description: Skip partmap test if qemu-img doesn't exist (e.g. on the Hurd) +Author: Colin Watson <cjwatson@debian.org> +Forwarded: no +Last-Update: 2010-11-22 + +Index: b/tests/partmap_test.in +=================================================================== +--- a/tests/partmap_test.in ++++ b/tests/partmap_test.in +@@ -51,6 +51,8 @@ + echo + } + ++which qemu-img >/dev/null 2>&1 || exit 77 ++ + imgfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1 + outfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1 + |