summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
2013-05-27add (some) unit tests for librelib and libremessagesLuke Shumaker
2013-05-27Add (roundup-based) unit-test framework, tests for pkgbuild-check-nonfreeLuke Shumaker