From 9d90d48c9d01fa45d1a363fc01d0a1c2ffc9e790 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 10 Apr 2017 22:31:02 -0400 Subject: test/: Tidy before()/after() definitions. --- test/librefetch-test.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'test/librefetch-test.sh') 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 < "$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 -- cgit v1.2.3-54-g00ecf