summaryrefslogtreecommitdiffstats
path: root/test/lib/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/common.inc')
-rw-r--r--test/lib/common.inc13
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