diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-02-17 22:45:59 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-03-04 08:35:05 +0100 |
commit | b9b637569960ae7eef5ee12436624af34a718a9a (patch) | |
tree | af41f8444ccd1aa92717e0d356f8180fea42f5b2 /testprogs | |
parent | d5d88bd82b1cb51da09cf3b3dec40f180f5ed29f (diff) | |
download | samba-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-x | testprogs/blackbox/upgradeprovision-oldrelease.sh | 12 |
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 |