diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-07 21:21:08 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-07 21:21:08 +0200 |
commit | bccf84211be4abda3c96ded43f03b597081fecb1 (patch) | |
tree | adc9bb33a544d0b9fb49c616e907777a191468b1 /test/lib/common.inc | |
parent | 66ae94cafb62da09da77712269f411f095dd81fc (diff) |
add test for db-remove
Diffstat (limited to 'test/lib/common.inc')
-rw-r--r-- | test/lib/common.inc | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc index 5abe2ed..4052aa1 100644 --- a/test/lib/common.inc +++ b/test/lib/common.inc @@ -1,4 +1,4 @@ -pkgdir="$(dirname $0)/packages" +pkgdir="${curdir}/packages" oneTimeSetUp() { local p @@ -57,20 +57,13 @@ eot } tearDown() { + echo -n 'Cleaning up...' rm -rf "${TMP}" rm -f "${curdir}/../config.local" + echo 'done' echo } -testPackages() { - local p - for p in "${pkgdir}"/*; do - pushd $p >/dev/null - namcap *.pkg.tar.* || fail 'namcap failed' - popd >/dev/null - done -} - releasePackage() { local repo=$1 local pkgbase=$2 |