From b9b637569960ae7eef5ee12436624af34a718a9a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 17 Feb 2013 22:45:59 +1100 Subject: selftest: Remove output directories to save disk space Reviewed-by: Stefan Metzmacher --- testprogs/blackbox/upgradeprovision-oldrelease.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'testprogs') diff --git a/testprogs/blackbox/upgradeprovision-oldrelease.sh b/testprogs/blackbox/upgradeprovision-oldrelease.sh index 93565a1c1f..105483d70b 100755 --- a/testprogs/blackbox/upgradeprovision-oldrelease.sh +++ b/testprogs/blackbox/upgradeprovision-oldrelease.sh @@ -197,4 +197,16 @@ no test provision EOF fi +if [ -d $PREFIX_ABS/${RELEASE}_upgrade ]; then + rm -fr $PREFIX_ABS/${RELEASE}_upgrade +fi + +if [ -d $PREFIX_ABS/${RELEASE}_upgrade_full ]; then + rm -fr $PREFIX_ABS/${RELEASE}_upgrade_full +fi + +if [ -d $PREFIX_ABS/${RELEASE}_upgrade_reference ]; then + rm -fr $PREFIX_ABS/${RELEASE}_upgrade_reference +fi + exit $failed -- cgit