diff options
author | Matthieu Patou <mat@matws.net> | 2010-10-11 13:44:35 +0400 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2010-10-11 14:29:10 +0000 |
commit | 6633a7b37907373ebd93f5a1f5b297ec3d5e483d (patch) | |
tree | 906df42cdcf5b1881196e2da9b72a7e05503baf5 /source4/setup | |
parent | 77cdef53595de4837046c5f5bf6ce47020998dee (diff) | |
download | samba-6633a7b37907373ebd93f5a1f5b297ec3d5e483d.tar.gz samba-6633a7b37907373ebd93f5a1f5b297ec3d5e483d.tar.bz2 samba-6633a7b37907373ebd93f5a1f5b297ec3d5e483d.zip |
unit tests: do some cleanup after tests
fix
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Oct 11 14:29:10 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/setup')
-rwxr-xr-x | source4/setup/tests/blackbox_provision.sh | 7 | ||||
-rwxr-xr-x | source4/setup/tests/blackbox_upgradeprovision.sh | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/source4/setup/tests/blackbox_provision.sh b/source4/setup/tests/blackbox_provision.sh index 6b2c2278ac..126905e7e6 100755 --- a/source4/setup/tests/blackbox_provision.sh +++ b/source4/setup/tests/blackbox_provision.sh @@ -42,5 +42,12 @@ reprovision() { } testit "reprovision" reprovision +rm -rf $PREFIX/simple-default +rm -rf $PREFIX/simple-dc +rm -rf $PREFIX/blank-dc +rm -rf $PREFIX/simple-member +rm -rf $PREFIX/simple-standalone +rm -rf $PREFIX/partitions-only-dc +rm -rf $PREFIX/reprovision exit $failed diff --git a/source4/setup/tests/blackbox_upgradeprovision.sh b/source4/setup/tests/blackbox_upgradeprovision.sh index f32d71de93..2d2325ce2a 100755 --- a/source4/setup/tests/blackbox_upgradeprovision.sh +++ b/source4/setup/tests/blackbox_upgradeprovision.sh @@ -31,4 +31,12 @@ upgradeprovision_full() { testit "upgradeprovision" upgradeprovision testit "upgradeprovision_full" upgradeprovision_full +if [ -d $PREFIX/upgradeprovision ]; then + rm -fr $PREFIX/upgradeprovision +fi + +if [ -d $PREFIX/upgradeprovision_full ]; then + rm -fr $PREFIX/upgradeprovision_full +fi + exit $failed |