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 /source4/setup/tests | |
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 'source4/setup/tests')
-rwxr-xr-x | source4/setup/tests/blackbox_upgradeprovision.sh | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/source4/setup/tests/blackbox_upgradeprovision.sh b/source4/setup/tests/blackbox_upgradeprovision.sh index 8e4c2cc4f9..85c085fc1c 100755 --- a/source4/setup/tests/blackbox_upgradeprovision.sh +++ b/source4/setup/tests/blackbox_upgradeprovision.sh @@ -57,6 +57,14 @@ ldapcmp_full_sd() { $PYTHON $BINDIR/samba-tool ldapcmp tdb://$PREFIX/upgradeprovision_full/private/sam.ldb tdb://$PREFIX/upgradeprovision_reference/private/sam.ldb --two --sd --skip-missing-dn } +testit "upgradeprovision" upgradeprovision +testit "upgradeprovision_full" upgradeprovision_full +testit "upgradeprovision_reference" upgradeprovision_reference +testit "ldapcmp" ldapcmp +testit "ldapcmp_full" ldapcmp_full +testit "ldapcmp_sd" ldapcmp_sd +testit "ldapcmp_full_sd" ldapcmp_full_sd + if [ -d $PREFIX/upgradeprovision ]; then rm -fr $PREFIX/upgradeprovision fi @@ -65,12 +73,8 @@ if [ -d $PREFIX/upgradeprovision_full ]; then rm -fr $PREFIX/upgradeprovision_full fi -testit "upgradeprovision" upgradeprovision -testit "upgradeprovision_full" upgradeprovision_full -testit "upgradeprovision_reference" upgradeprovision_reference -testit "ldapcmp" ldapcmp -testit "ldapcmp_full" ldapcmp_full -testit "ldapcmp_sd" ldapcmp_sd -testit "ldapcmp_full_sd" ldapcmp_full_sd +if [ -d $PREFIX/upgradeprovision_reference ]; then + rm -fr $PREFIX/upgradeprovision_reference +fi exit $failed |