diff options
Diffstat (limited to 'test/pkgbuild-check-nonfree-test.sh')
-rw-r--r-- | test/pkgbuild-check-nonfree-test.sh | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/pkgbuild-check-nonfree-test.sh b/test/pkgbuild-check-nonfree-test.sh index 306ab00..ec1246e 100644 --- a/test/pkgbuild-check-nonfree-test.sh +++ b/test/pkgbuild-check-nonfree-test.sh @@ -6,13 +6,14 @@ describe pkgbuild-check-nonfree before() { common_before - mkdir -p $XDG_CONFIG_HOME/libretools - echo "BLACKLIST='phony://example.com'" >$XDG_CONFIG_HOME/libretools/libretools.conf - - local blacklist=$XDG_CACHE_HOME/libretools/blacklist.txt - mkdir -p "${blacklist%/*}" - echo 'linux:linux-libre:nonfree blobs and firmwares' >$blacklist - echo 'skype' >>$blacklist + install -Dm644 /dev/stdin "$XDG_CONFIG_HOME/libretools/libretools.conf" <<-eot + BLACKLIST='phony://example.com' + eot + + install -Dm644 /dev/stdin "$XDG_CACHE_HOME/libretools/blacklist.txt" <<-eot + linux:linux-libre:nonfree blobs and firmwares + skype + eot } it_displays_usage_text() { |