summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-08 01:26:11 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-08 01:26:11 +0200
commit1db7071b222207d2d924a03a48d0745387f11c7b (patch)
treed006768393fdd538a2bf6c1410afb1433315e15c /test/lib
parent23d4669b8e330d131b2f78cd5858b30a07478c8a (diff)
downloaddbscripts-1db7071b222207d2d924a03a48d0745387f11c7b.tar.gz
dbscripts-1db7071b222207d2d924a03a48d0745387f11c7b.tar.xz
add test for ftpdir-cleanup
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc
index 4080c38..dd3022e 100644
--- a/test/lib/common.inc
+++ b/test/lib/common.inc
@@ -16,7 +16,7 @@ oneTimeSetUp() {
}
oneTimeTearDown() {
- find "${pkgdir}" -name '*.pkg.tar.*' -delete
+ rm -rf "${pkgdir}"
}
setUp() {
@@ -54,6 +54,7 @@ setUp() {
SOURCE_CLEANUP_DESTDIR="${TMP}/source-cleanup"
STAGING="${TMP}/staging"
TMPDIR="${TMP}/tmp"
+ CLEANUP_DRYRUN=false
eot
. "${curdir}/../config"
}