* tests/util/grub-shell.in: Remove the temporary directory on grub-emu

after the test.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-05-14 08:41:39 +02:00
parent 50268344c0
commit 1202c76486
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-05-14 Vladimir Serbinenko <phcoder@gmail.com>
* tests/util/grub-shell.in: Remove the temporary directory on grub-emu
after the test.
2013-05-11 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Gettextize "Not found" message.

View file

@ -418,6 +418,7 @@ elif [ x$boot = xemu ]; then
cp "${cfgfile}" "$grubdir/grub.cfg"
cp "${source}" "$grubdir/testcase.cfg"
@builddir@/grub-core/grub-emu -m "$device_map" -d "$grubdir" | tr -d "\r" | do_trim
rm -rf "$grubdir"
else
timeout -s KILL $timeout "${qemu}" ${qemuopts} -nographic ${serial_null} -serial file:/dev/stdout -monitor file:/dev/null -${device} ${isofile} ${bootdev} | cat | tr -d "\r" | do_trim
fi