mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
* 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.
This commit is contained in:
1 parent
1bbb796799
commit
60870be86c
4 files changed
+22
No files matched your search
@@ -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>
|
2013-11-18 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* util/grub-mkrescue.c (main): Fix typo.
|
* util/grub-mkrescue.c (main): Fix typo.
|
||||||
|
|||||||
@@ -19,6 +19,11 @@ grubshell=@builddir@/grub-shell
|
|||||||
|
|
||||||
. "@builddir@/grub-core/modinfo.sh"
|
. "@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
|
if [ "$(echo hello | "${grubshell}" --mkrescue-arg=--compress=gz)" != "Hello World" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@@ -19,6 +19,11 @@ grubshell=@builddir@/grub-shell
|
|||||||
|
|
||||||
. "@builddir@/grub-core/modinfo.sh"
|
. "@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
|
if [ "$(echo hello | "${grubshell}" --mkrescue-arg=--compress=lzo)" != "Hello World" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@@ -19,6 +19,11 @@ grubshell=@builddir@/grub-shell
|
|||||||
|
|
||||||
. "@builddir@/grub-core/modinfo.sh"
|
. "@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
|
if [ "$(echo hello | "${grubshell}" --mkrescue-arg=--compress=xz)" != "Hello World" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user