summaryrefslogtreecommitdiff
path: root/test/pkgbuild-check-nonfree-test.sh
AgeCommit message (Collapse)Author
2018-10-01(BATS) test: Move files aroundLuke Shumaker
But don't edit them yet. This directory structure is based on that of dbscripts.
2018-10-01test: Centalize setup in common_setup where it makes senseLuke Shumaker
2018-10-01test: Clean up (config) file writingLuke Shumaker
Instead of using in inconsistent mish-mash of `mkdir` and `echo >` and `printf >>`, use more readable and identifiable indented-heredocs: install -Dm644 /dev/stdin "FILENAME" <<-eot CONTENTS eot
2018-10-01test: pkgbuild-check-nonfree: Remove superfluous setting of BLACKLIST=Luke Shumaker
It's already set that way in setup() of that file.
2018-10-01test: test-common.bash: Remove hooks from before()Luke Shumaker
Instead, make the default before() an alias for common_before(), which test files can call if they override before().
2018-10-01test: pkgbuild-check-nonfree: Expand $pcn and $psnLuke Shumaker
2018-10-01test: Normalize on "status" instead of "stat" "ret" or "r" for storing exit ↵Luke Shumaker
codes The name "status" was chosen because BATS initializes status=0; if we switch from Roundup to BATS, our common setup won't need set it anymore. Accomplish this with: $ sed -ri -e 's/\$(stat|ret|r)\b/$status/g' -e 's/\b(stat|ret|r)=/status=/g' test/*.sh $ sed -ri '/^\s*(local\s+)?status=0$/d' test/*-test.sh
2017-04-11test/: Tidy before()/after() definitions.Luke Shumaker
2014-02-02test: `! true` doesn't trip `set -e`, do subshell magicLuke Shumaker
2013-11-02test: set LC_ALL instead of LANGLuke Shumaker
2013-10-26Merge pkgbuild-check-{nonfree,licenses}, add a summarize tool for it.Luke Shumaker
This should fix a number of bugs in those two scripts, and the summarize script simplifies aur and libremakepkg:hooks-check.sh
2013-09-30test-common.sh: add an empty() routine to check if a file is empty, use itLuke Shumaker
2013-09-11test: set LANG=C when parsing the outputLuke Shumaker
2013-09-11test: pkgbuild-check-nonfree-test.sh: use test-common.shLuke Shumaker
2013-06-05fix the tests to work when libretools isn't installedLuke Shumaker
2013-06-05Fix tests for networks that have a host on them named "phony".Luke Shumaker
I was using "http://phony" as a URL that would fail to be retrieved. Well, I'm currently on a network (Chick-fil-A Wifi) that returns a web search for unknown hostnames. So, now I use "phony://example.com".
2013-06-05reorganize the tests a bitLuke Shumaker
2013-05-27fix and add unit testsLuke Shumaker
2013-05-27Add (roundup-based) unit-test framework, tests for pkgbuild-check-nonfreeLuke Shumaker