* tests/core_compress_test.in: Use full arguments as grub-mkimage-extra

now needs full arguments.
This commit is contained in:
Vladimir Serbinenko 2013-11-17 02:09:15 +01:00
parent 6aa6077bcc
commit b80c2d6d4b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-11-17 Vladimir Serbinenko <phcoder@gmail.com>
* tests/core_compress_test.in: Use full arguments as grub-mkimage-extra
now needs full arguments.
2013-11-17 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkrescue.c (main): Add trailing \n in

View File

@ -27,10 +27,10 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
esac
if [ "$(echo hello | "${grubshell}" --grub-mkimage-extra=-C --grub-mkimage-extra=xz)" != "Hello World" ]; then
if [ "$(echo hello | "${grubshell}" --grub-mkimage-extra=--compress=xz)" != "Hello World" ]; then
exit 1
fi
if [ "$(echo hello | "${grubshell}" --grub-mkimage-extra=-C --grub-mkimage-extra=none)" != "Hello World" ]; then
if [ "$(echo hello | "${grubshell}" --grub-mkimage-extra=--compress=none)" != "Hello World" ]; then
exit 1
fi