Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-01 | (BATS) test: Move files around | Luke Shumaker | |
But don't edit them yet. This directory structure is based on that of dbscripts. | |||
2018-10-01 | test: Centalize setup in common_setup where it makes sense | Luke Shumaker | |
2018-10-01 | test: Clean up (config) file writing | Luke 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-01 | test: pkgbuild-check-nonfree: Remove superfluous setting of BLACKLIST= | Luke Shumaker | |
It's already set that way in setup() of that file. | |||
2018-10-01 | test: 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-01 | test: pkgbuild-check-nonfree: Expand $pcn and $psn | Luke Shumaker | |
2018-10-01 | test: 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-11 | test/: Tidy before()/after() definitions. | Luke Shumaker | |
2014-02-02 | test: `! true` doesn't trip `set -e`, do subshell magic | Luke Shumaker | |
2013-11-02 | test: set LC_ALL instead of LANG | Luke Shumaker | |
2013-10-26 | Merge 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-30 | test-common.sh: add an empty() routine to check if a file is empty, use it | Luke Shumaker | |
2013-09-11 | test: set LANG=C when parsing the output | Luke Shumaker | |
2013-09-11 | test: pkgbuild-check-nonfree-test.sh: use test-common.sh | Luke Shumaker | |
2013-06-05 | fix the tests to work when libretools isn't installed | Luke Shumaker | |
2013-06-05 | Fix 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-05 | reorganize the tests a bit | Luke Shumaker | |
2013-05-27 | fix and add unit tests | Luke Shumaker | |
2013-05-27 | Add (roundup-based) unit-test framework, tests for pkgbuild-check-nonfree | Luke Shumaker | |