tests/util/grub-shell: Remove the work directory on successful run and debug is not on
This removes a lot of empty grub-shell working directories in the TMPDIR directory. Signed-off-by: Thomas Schmitt <scdbackup@gmx.net> Signed-off-by: Glenn Washburn <development@efficientek.com> Tested-by: Thomas Schmitt <scdbackup@gmx.net> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
e0116f3bd5
commit
1d59f39b5f
@ -715,6 +715,7 @@ test -n "$debug" || rm -f "${isofile}"
|
||||
test -n "$debug" || rm -rf "${rom_directory}"
|
||||
test -n "$debug" || rm -f "${tmpfile}" "${cfgfile}" "${goutfile}"
|
||||
test -n "$debug" || rm -f "$work_directory/run.sh"
|
||||
test -n "$debug" || rmdir "$work_directory"
|
||||
|
||||
exit $ret
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user