summaryrefslogtreecommitdiff
path: root/test/lib
AgeCommit message (Collapse)Author
2018-10-04test: common.bash: Shorten tmpdirLuke Shumaker
If /run/user/$UID/ doesn't exist, then the gpg-agent socket will be in $GNUPGHOME, which is inside of $tmpdir. Because the $BATS_TEST_NAME is embedded in $tmpdir, the path might be quite long, and hit the 108-byte limit on socket paths, which GnuPG does nothing to check for or handle. So, don't embed $BATS_TEST_NAME in $tmpdir, in order to keep the path shorter.
2018-10-04test: common.bash: common_teardown: Don't assume that common_setup went OKLuke Shumaker
common_setup might have errored before setting tmpdir or chrootdir; handle those cases.
2018-10-03test: common.bash: Clean up chroots as we goLuke Shumaker
2018-10-02Revert "test: librerelease: Begone with setup()"Luke Shumaker
This reverts commit 70b9f3cdcabc217609be96cfdd1fd47133aa273b.
2018-10-02test: runserver: Explicitly listen on IPv4Luke Shumaker
The implementation is not dual-stack. It supports *either* IPv4 or IPv6. I'm not entirely sure how it chooses. Clients that support happy-eyeballs will do thing right thing, but clients that don't (*cough* openssh) won't. So explicitly choose the IPv4 localhost instead of using an ambiguous "localhost".
2018-10-02test: Add runserver from the dbscripts test suiteLuke Shumaker
It was written by me, in May 2018.
2018-10-01(BATS) test: Manual Roundup→BATS conversionLuke Shumaker
2018-10-01(BATS) test: Move files aroundLuke Shumaker
But don't edit them yet. This directory structure is based on that of dbscripts.