summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-21 13:23:09 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-21 13:23:09 +0100
commit30a128a864bdbfc294b6ba6a49c9264570bb3c58 (patch)
treeff952c6710ee7d788a3159c51c39ab69b27f6585 /test
parent948583aebe9e8e5a3daa9131c99dc68724e06b49 (diff)
downloaddbscripts-30a128a864bdbfc294b6ba6a49c9264570bb3c58.tar.gz
dbscripts-30a128a864bdbfc294b6ba6a49c9264570bb3c58.tar.xz
sourceballs: Don't write any log
This is consistent with the other dbscripts. The output will be send to the mailinglist.
Diffstat (limited to 'test')
-rw-r--r--test/lib/common.inc2
-rwxr-xr-xtest/runTest13
2 files changed, 0 insertions, 15 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc
index e47ae2d..6619c0a 100644
--- a/test/lib/common.inc
+++ b/test/lib/common.inc
@@ -45,7 +45,6 @@ setUp() {
done
mkdir -p "${TMP}/ftp/${PKGPOOL}"
mkdir -p "${TMP}/ftp/${SRCPOOL}"
- mkdir -p "${TMP}/log"
msg 'Creating svn repository...'
svnadmin create "${TMP}/svn-packages-repo"
@@ -68,7 +67,6 @@ setUp() {
SOURCE_CLEANUP_DESTDIR="${TMP}/source-cleanup"
STAGING="${TMP}/staging"
TMPDIR="${TMP}/tmp"
- LOGDIR="${TMP}/log"
CLEANUP_DRYRUN=false
eot
. "${curdir}/../config"
diff --git a/test/runTest b/test/runTest
index d3e2eff..6c60ddc 100755
--- a/test/runTest
+++ b/test/runTest
@@ -553,13 +553,6 @@ testSourceballs() {
../db-update
../cron-jobs/sourceballs
-
- for log in errors failed; do
- if [ -s "${LOGDIR}/sourceballs/${log}.txt" ]; then
- fail "${LOGDIR}/sourceballs/${log}.txt includes the following errors:"
- cat "${LOGDIR}/sourceballs/${log}.txt"
- fi
- done
for pkgbase in ${pkgs[@]}; do
[ ! -r ${FTP_BASE}/${SRCPOOL}/${pkgbase}-*${SRCEXT} ] && fail "source package not found!"
done
@@ -585,12 +578,6 @@ testSourceballsCleanup() {
../cron-jobs/ftpdir-cleanup >/dev/null
../cron-jobs/sourceballs
- for log in errors failed; do
- if [ -s "${LOGDIR}/sourceballs/${log}.txt" ]; then
- fail "${LOGDIR}/sourceballs/${log}.txt includes the following errors:"
- cat "${LOGDIR}/sourceballs/${log}.txt"
- fi
- done
[ -r ${FTP_BASE}/${SRCPOOL}/pkg-simple-a-*${SRCEXT} ] && fail "source package was not removed!"
[ ! -r ${FTP_BASE}/${SRCPOOL}/pkg-simple-b-*${SRCEXT} ] && fail "source package not found!"
}