tests/vm: Clean out old working directories on build
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 12:48:11 +0000 (13:48 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 16:07:53 +0000 (17:07 +0100)
commit44b69d503797cd2b4acd005327923894e69c58ea
tree30acd74f669bca5bdfbfc0c39f3e9067d842bc57
parentc8090972fa85b197411b530ddf81a2867379406c
tests/vm: Clean out old working directories on build

When we do a build inside one of the BSD VMs, first
delete any stale old build directories from the VM's
/var/tmp. This prevents the VM from running out of
disk space after it has been used for a dozen or
so builds.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20180820124811.7982-1-peter.maydell@linaro.org
tests/vm/freebsd
tests/vm/netbsd
tests/vm/openbsd