summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-02-17 22:45:59 +1100
committerStefan Metzmacher <metze@samba.org>2013-03-04 08:35:05 +0100
commitb9b637569960ae7eef5ee12436624af34a718a9a (patch)
treeaf41f8444ccd1aa92717e0d356f8180fea42f5b2 /testprogs
parentd5d88bd82b1cb51da09cf3b3dec40f180f5ed29f (diff)
downloadsamba-b9b637569960ae7eef5ee12436624af34a718a9a.tar.gz
samba-b9b637569960ae7eef5ee12436624af34a718a9a.tar.bz2
samba-b9b637569960ae7eef5ee12436624af34a718a9a.zip
selftest: Remove output directories to save disk space
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/upgradeprovision-oldrelease.sh12
1 files changed, 12 insertions, 0 deletions
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