]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* tests/util/grub-shell.in: Remove the temporary directory on grub-emu
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 14 May 2013 06:41:39 +0000 (08:41 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 14 May 2013 06:41:39 +0000 (08:41 +0200)
after the test.

ChangeLog
tests/util/grub-shell.in

index cd8213a1ba8957622477457568d76ec41bd01018..f7b3efe2ac335660e134716912e3a54c8204fcc4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index f259bb3f9b648368dead19876009a864426dfe6a..a0ec1ac23ce78ecbcbae71116db0d55eed692f5d 100644 (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