summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2013-10-26fix librefetch, add (some) tests for itv20131027Luke Shumaker
2013-10-26test: blacklist: shorten a couple of test namesLuke 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-10-15librechroot: (bugfix) Use the correct exit status if stdout isn't a TTY.v20131015Luke Shumaker
Because of the work-around for systemd-nspawn's buggy I/O, it was discarding the exit status if stdout wasn't a TTY. My work-around for *this* is to set -o pipefail.
2013-10-15test: libremakepkg: add a test for bug #442, chcleanup not runningLuke Shumaker
2013-10-15testenv: verify that there is a command passedLuke Shumaker
I keep running it without any arguments, thinking that I am now working inside of the test environment, when really it just exited right away with a 0 status.
2013-10-07test: librerelease: also set REPODEST, as librerelease checks for it.v20131007Luke Shumaker
2013-10-04test: Avoid letting environmental variables affect thingsLuke Shumaker
2013-10-04Fix tests for librereleaseLuke Shumaker
2013-10-04conf.sh: generalize {get,set}_conf_makepkg to {get,set}_varLuke Shumaker
2013-09-30librerelease: I was dumb and messed up the flags to `find`. Add unit tests.Luke Shumaker
2013-09-30test-common.sh: add an empty() routine to check if a file is empty, use itLuke Shumaker
2013-09-29Strip trailing whitespace everywhere.Luke Shumaker
find * -type f -not -name '*.patch' -exec sed -i -r 's/\s+$//' {} +
2013-09-12test: tidy up, make everything use test-common.shLuke Shumaker
2013-09-11libreblacklist: Fix a bug in the -h flag, adjust the unit test to catch it.Luke Shumaker
2013-09-11test: Add pkgbuild-check-licenses-test.sh with a basic usage text test.Luke Shumaker
2013-09-11test: set LANG=C when parsing the outputLuke Shumaker
2013-09-11test: tidy upLuke Shumaker
- libremakepkg: set BLACKLIST, as it will be used when checking the PKGBUILD - test-common.sh: make sure that $HOME isn't the default, so we don't trash the user's home directory if accidentally run outside of testenv - testenv: don't worry about adding dest/usr/sbin to the path
2013-09-11test: pkgbuild-check-nonfree-test.sh: use test-common.shLuke Shumaker
2013-09-11test: libremakepkg-test.sh: add a unit test for issue #380Luke Shumaker
2013-09-11test: change how we do sudo (to make sure we stay in the test environment)Luke Shumaker
2013-09-11test: testenv: clean up, set HOME, don't require user to be in test/Luke Shumaker
2013-09-11Makefile: don't have directory-targets share namespace with project-targetsLuke Shumaker
2013-06-23mv src/librelib src/lib/ # and split librelib into a separate packageLuke Shumaker
2013-06-08librestage: handle PKGDEST better, fix testsv20130608Luke Shumaker
2013-06-08libreblacklist: fix a few bugsLuke Shumaker
- set -e didn't work in blacklist-update when followed by || - it prompted before overwriting the local blacklist
2013-06-08is_built: make the version optionalLuke Shumaker
2013-06-05librechroot: fix clean-repov20130605.1Luke Shumaker
2013-06-05chroot.conf: configure CHROOTEXTRAPKG to be empty by defaultv20130605testing-20130605Luke Shumaker
2013-06-05add a system to skip tests that require networking or sudo.Luke Shumaker
2013-06-05fix the tests to work when libretools isn't installedLuke Shumaker
2013-06-05testenv: do a better job of cleaning up temorary filesLuke Shumaker
2013-06-05test/.gitignore: ignore roundup temporary filesLuke Shumaker
2013-06-05unit tests: make XDG_CONFIG_HOME not exist when checking usage textLuke Shumaker
2013-06-05librelib: print to stderr if it can't find the libraryLuke Shumaker
2013-06-05unit tests: sudo was unsetting LIBRETOOLS_LIBDIRLuke Shumaker
2013-06-05add unit tests for aur and is_builtLuke Shumaker
2013-06-05librestage: clean up, add unit testsLuke Shumaker
Contained the text "# TODO refactor this", and I can't just stick to that fragment of code, can I? I actually didn't change too much, despite what the diff looks like. - move everything into a main() routine - redo the usage() text - rename a few variables - fix where "${#repos}" should have been "${#repos[@]}" - use [[...]] instead of [...] - use "if A; then B; else C; fi" instead of "A || C && B" - use CARCH instead of looping over every possible architecture. - only look for files that match PKGEXT, as set in makepkg.conf - pull out duplicate code for error handling - don't warn when creating "staging/REPONAME"
2013-06-05add a few tests for libremakepkgLuke Shumaker
2013-06-05lib/conf.sh: respect a customized HOME variableLuke Shumaker
2013-06-05Add tests for librechroot's help system, make them pass.Luke Shumaker
They didn't pass because on several errors it printed to stdout, not stderr
2013-06-05make the librelib 0-args test more strictLuke Shumaker
2013-06-05Add tests for the libreblacklist help system, make them pass.Luke 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-06-05test/{runtests => testenv}: make it easy to enter a test shellLuke Shumaker
Move 'runtests' to 'testenv', and have it execute the arguments instead of roundup. Have Makefile pass it 'roundup' as an argument.
2013-05-28librechroot: fix typos, add unit testtesting-20130528.2Luke Shumaker
2013-05-27fix a bug in conf.sh (from the get_files->list_files switch), add unit testtesting-20130528Luke Shumaker
2013-05-27fix and add unit testsLuke Shumaker
2013-05-27add tests for libreblacklist, fix a few bugsLuke Shumaker