summaryrefslogtreecommitdiff
path: root/test/librefetch-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/librefetch-test.sh')
-rw-r--r--test/librefetch-test.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh
index f10ee7f..6871be1 100644
--- a/test/librefetch-test.sh
+++ b/test/librefetch-test.sh
@@ -1,15 +1,12 @@
#!/usr/bin/env roundup
describe librefetch
-
. ./test-common.sh
KEYSERVER=hkp://pool.sks-keyservers.net
GPG="gpg --quiet --batch --no-tty --no-permission-warning --keyserver ${KEYSERVER}"
-before() {
- _before
-
+common_before() {
mkdir -p "$XDG_CONFIG_HOME"/{pacman,libretools} "$tmpdir/srcdest"
cat <<EOF > "$XDG_CONFIG_HOME/pacman/makepkg.conf"
@@ -44,10 +41,6 @@ EOF
| $GPG --gen-key 2>/dev/null
}
-after() {
- _after
-}
-
it_displays_help() {
LC_ALL=C librefetch -h >$tmpdir/stdout 2>$tmpdir/stderr