summaryrefslogtreecommitdiff
path: root/test/test.d/sourceballs.sh
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2017-04-15 16:30:41 +0200
committerPierre Schmitz <pierre@archlinux.de>2017-04-15 16:30:41 +0200
commit355b457c97a55c9ee16ef2f81fc06d49c47c129b (patch)
tree42938f6118a904bbefbe82c7a520fa7e80eb5cfb /test/test.d/sourceballs.sh
parentabe255d51bc450ee9c0ac1a4486b4d7d10c9794f (diff)
Compile tests into one file to reduce time spent on setup
Diffstat (limited to 'test/test.d/sourceballs.sh')
-rwxr-xr-xtest/test.d/sourceballs.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test.d/sourceballs.sh b/test/test.d/sourceballs.sh
index fdcf08c..a004cdb 100755
--- a/test/test.d/sourceballs.sh
+++ b/test/test.d/sourceballs.sh
@@ -1,8 +1,3 @@
-#!/bin/bash
-
-curdir=$(readlink -e $(dirname $0))
-. "${curdir}/../lib/common.inc"
-
testSourceballs() {
local arches=('i686' 'x86_64')
local pkgs=('pkg-simple-a' 'pkg-simple-b' 'pkg-simple-epoch')
@@ -80,5 +75,3 @@ testSourceballsCleanup() {
[ -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!"
}
-
-. "${curdir}/../lib/shunit2"