diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/pkgbuild-check-nonfree-test.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/pkgbuild-check-nonfree-test.sh b/test/pkgbuild-check-nonfree-test.sh index 86769c4..dd03aab 100644 --- a/test/pkgbuild-check-nonfree-test.sh +++ b/test/pkgbuild-check-nonfree-test.sh @@ -5,9 +5,10 @@ pcn=pkgbuild-check-nonfree describe $pcn +. ./test-common.sh + before() { - tmpdir=$(mktemp -d --tmpdir test-pkgbuild-check-nonfree.XXXXXXXXXXXX) - stat=0 + _before mkdir -p $XDG_CONFIG_HOME/libretools echo "BLACKLIST='phony://example.com'" >$XDG_CONFIG_HOME/libretools/libretools.conf @@ -19,7 +20,7 @@ before() { } after() { - rm -rf -- "$tmpdir" "$XDG_CACHE_HOME" "$XDG_CONFIG_HOME" + _after } it_displays_usage_text() { |