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/pkgbuild-check-nonfree-test.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'test/pkgbuild-check-nonfree-test.sh') diff --git a/test/pkgbuild-check-nonfree-test.sh b/test/pkgbuild-check-nonfree-test.sh index 2af2669..e6679ed 100644 --- a/test/pkgbuild-check-nonfree-test.sh +++ b/test/pkgbuild-check-nonfree-test.sh @@ -5,12 +5,9 @@ pcn=pkgbuild-check-nonfree psn=pkgbuild-summarize-nonfree describe $pcn - . ./test-common.sh -before() { - _before - +common_before() { mkdir -p $XDG_CONFIG_HOME/libretools echo "BLACKLIST='phony://example.com'" >$XDG_CONFIG_HOME/libretools/libretools.conf @@ -20,10 +17,6 @@ before() { echo 'skype' >>$blacklist } -after() { - _after -} - it_displays_usage_text() { # This test seems silly, but it makes sure that it is executable, # syntactically correct, and loading libraries works. -- cgit v1.2.2