* tests/test_sha512sum.in: Make it work on emu.
This commit is contained in:
parent
c03995d297
commit
87a04a2df6
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* tests/test_sha512sum.in: Make it work on emu.
|
||||
|
||||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/normal/charset.c (bidi_line_wrap): Eliminate nested
|
||||
|
|
|
@ -6,9 +6,18 @@ cat >$file <<EOF
|
|||
hello world!
|
||||
EOF
|
||||
|
||||
. "@builddir@/grub-core/modinfo.sh"
|
||||
|
||||
if [ x"${grub_modinfo_platform}" = xemu ]; then
|
||||
grub_file="(host)$file"
|
||||
else
|
||||
grub_file="/boot/grub/file"
|
||||
fi
|
||||
|
||||
|
||||
outfile1=`mktemp`
|
||||
@builddir@/grub-shell --files=/boot/grub/file=$file >$outfile1 <<EOF
|
||||
sha512sum /boot/grub/file
|
||||
sha512sum $grub_file
|
||||
EOF
|
||||
|
||||
outfile2=`mktemp`
|
||||
|
|
Loading…
Reference in a new issue