summaryrefslogtreecommitdiff
path: root/test/librechroot-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: test-common.sh: Roll chroot_before in to common_beforeLuke Shumaker
The big reason for having it separate was that we needed to install an expensive after(). But, since that part of cleanup is now owned by testenv, that's not a concern.
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
2018-08-26test: librechroot: Check whether chcleanup can install libretools [ci-skip]Luke Shumaker
2018-08-15test/: Use `librechroot install-name` rather than `librechroot run pacman`v20180815Luke Shumaker
2018-08-03test: librechroot: Add failing test case for chcleanup [ci-skip]Luke Shumaker
https://labs.parabola.nu/issues/1311
2018-08-03test: librechroot: Fix tragic typoLuke Shumaker
2018-06-02librechroot: Properly clean up temporary pacman.conf fileLuke Shumaker
2017-07-08test: librechroot: verify that the `-n` flag worksLuke Shumaker
2017-04-11test/librechroot: Avoid waiting for pacman confirmation.Luke Shumaker
2017-04-11test/: Tidy before()/after() definitions.Luke Shumaker
2017-02-14Add librechroot delete tests.Luke Shumaker
2016-04-14Print an error when trying to sync a copy with itself.Luke Shumaker
Fixes https://labs.parabola.nu/issues/920
2014-11-28Woops, also s/parabolagnulinux.org/parabola.nu/ in test/v20141128Luke Shumaker
2014-07-26test: remove legacy systemd checkLuke Shumaker
2014-06-28test/librechroot: work-around for a systemd bugLuke Shumaker
2014-05-11test/librechroot: 'exit' isn't an executable program.Luke Shumaker
This test worked before because of work-arounds for systemd bugs, it had invoked bash inside of the chroot.
2014-02-02test: `! true` doesn't trip `set -e`, do subshell magicLuke Shumaker
2014-02-02librechroot-test: check for the existance of ca-certificates.crtLuke Shumaker
2014-02-02test/librechroot: test CHROOTEXTRAPKGLuke Shumaker
2014-02-02test/librechroot: test the -N flagLuke Shumaker
2014-01-20fix librechroot testtesting-20140120Luke Shumaker
2014-01-05test/: re-jigger the chroot tests to be fast on btrfsLuke Shumaker
2013-11-02test: set LC_ALL instead of LANGLuke Shumaker
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-09-30test-common.sh: add an empty() routine to check if a file is empty, use itLuke Shumaker
2013-09-12test: tidy up, make everything use test-common.shLuke Shumaker
2013-09-11test: set LANG=C when parsing the outputLuke Shumaker
2013-09-11test: change how we do sudo (to make sure we stay in the test environment)Luke 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-05unit tests: make XDG_CONFIG_HOME not exist when checking usage textLuke Shumaker
2013-06-05unit tests: sudo was unsetting LIBRETOOLS_LIBDIRLuke 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-05-28librechroot: fix typos, add unit testtesting-20130528.2Luke Shumaker