]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* tests/gzcompress_test.in: Skip if gzip is not installed (unlikely,
authorColin Watson <cjwatson@ubuntu.com>
Mon, 18 Nov 2013 16:16:33 +0000 (16:16 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Mon, 18 Nov 2013 16:16:33 +0000 (16:16 +0000)
but for symmetry).
* tests/lzocompress_test.in: Skip if lzop is not installed.
* tests/xzcompress_test.in: Skip if xz is not installed.

ChangeLog
tests/gzcompress_test.in
tests/lzocompress_test.in
tests/xzcompress_test.in

index aa39cb968913a6efc5441b4101b8eb752e3d35d5..7f7941601a966913efce6acbb3a9b1cdf583372d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-11-18  Colin Watson  <cjwatson@ubuntu.com>
+
+       * tests/gzcompress_test.in: Skip if gzip is not installed (unlikely,
+       but for symmetry).
+       * tests/lzocompress_test.in: Skip if lzop is not installed.
+       * tests/xzcompress_test.in: Skip if xz is not installed.
+
 2013-11-18  Colin Watson  <cjwatson@ubuntu.com>
 
        * util/grub-mkrescue.c (main): Fix typo.
index 5cc352eef63b294deb085cf921760b3b2f78ab1c..11b6bb208302e03e0c5198f678bc7cc119862898 100644 (file)
@@ -19,6 +19,11 @@ grubshell=@builddir@/grub-shell
 
 . "@builddir@/grub-core/modinfo.sh"
 
+if ! which gzip >/dev/null 2>&1; then
+   echo "gzip not installed; cannot test gzip compression."
+   exit 77
+fi
+
 if [ "$(echo hello | "${grubshell}" --mkrescue-arg=--compress=gz)" != "Hello World" ]; then
    exit 1
 fi
index 54428c33bbce4ac60f1449e8cca97cec39094ce4..41984c25419b78c727b3b8957bde3ac611cbd76e 100644 (file)
@@ -19,6 +19,11 @@ grubshell=@builddir@/grub-shell
 
 . "@builddir@/grub-core/modinfo.sh"
 
+if ! which lzop >/dev/null 2>&1; then
+   echo "lzop not installed; cannot test lzo compression."
+   exit 77
+fi
+
 if [ "$(echo hello | "${grubshell}" --mkrescue-arg=--compress=lzo)" != "Hello World" ]; then
    exit 1
 fi
index 63f5fd1909728f8fed9639760baefdc8cbf5aacf..b2bd999ec071c24205533e50cf51f46ec59a2218 100644 (file)
@@ -19,6 +19,11 @@ grubshell=@builddir@/grub-shell
 
 . "@builddir@/grub-core/modinfo.sh"
 
+if ! which xz >/dev/null 2>&1; then
+   echo "xz not installed; cannot test xz compression."
+   exit 77
+fi
+
 if [ "$(echo hello | "${grubshell}" --mkrescue-arg=--compress=xz)" != "Hello World" ]; then
    exit 1
 fi