From 1202c76486d02503551fa9fa068d4c549c5c72f1 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Tue, 14 May 2013 08:41:39 +0200 Subject: [PATCH] * tests/util/grub-shell.in: Remove the temporary directory on grub-emu after the test. --- ChangeLog | 5 +++++ tests/util/grub-shell.in | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index cd8213a1b..f7b3efe2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-05-14 Vladimir Serbinenko + + * tests/util/grub-shell.in: Remove the temporary directory on grub-emu + after the test. + 2013-05-11 Vladimir Serbinenko * util/grub-install.in: Gettextize "Not found" message. diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index f259bb3f9..a0ec1ac23 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -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