Timothe Litt
d7e3039308
Add a test for unified directories
Verify that a unified directory, API V2 is selected.
4 years ago
Timothe Litt
d91516735f
Make first fail global & improve diagnostics
The first fail logic seems scoped to a single test file.
Set the flag globally.
Since the tests run in a container, cleanup is automagic.
Various test tweaks to allow for skipping tests & null strings.
4 years ago
Timothe Litt
ea831390aa
Skip all tests after first failure
From https://github.com/sstephenson/bats/issues/135 via @timkimber
4 years ago
Timothe Litt
4447f4ec47
Run tests in debug mode, use fork's repo for upgraded
The test harness will suppress output unless an error occurs.
Upgrade testing was failing in forked repos CI because the
source repo was hard-coded. Use the CI environment to use
the fork's repo.
4 years ago
Tim Kimber
9d023115b0
Test that host/nslookup are not called with +noidnout
4 years ago
Tim Kimber
0855b908ea
Add GETSSL_IDN_HOST instead of hardcoding idn test domain
4 years ago
Tim Kimber
25d29bbff5
Use setup_file so setup code only runs once
4 years ago
Tim Kimber
f38b8212a3
Test on rockylinux
4 years ago
Tim Kimber
529a4e1fee
Update dockerfiles to set locale to en_US (needed for idn testing)
4 years ago
Tim Kimber
dd2de27ae5
Use +noidnout for dig and drill if IDN domain
4 years ago
Tim Kimber
b54acaeab7
Fix comments
4 years ago
Tim Kimber
e4c17c8d56
Remove spaces and sort when checking if SANS list changed
5 years ago
Tim Kimber
c5c2b0e7be
Update alpine nginx config
5 years ago
Tim Kimber
bfd68f8725
Fix tests (new duckdns servers)
5 years ago
Tim Kimber
aef54af466
Request new certificate if SANs changed
5 years ago
Timothe Litt
db2ec987d7
Fix test errors caused by DNS_CHECK_OPTIONS
Use a regexp rather than a partial match to skip any DNS_CHECK_OPTIONS,
which in the current tests create whitespace, but could be anything.
Catch a missing inclusion of DNS_CHECK_OPTIONS for dig CNAME
5 years ago
Tim Kimber
4846512269
Tweaks so non-cname domains work, fix broken retry dns add test
5 years ago
Tim Kimber
8bb2114174
Remove debug
5 years ago
Tim Kimber
da63cf3ac4
Fix awk command for pebble
5 years ago
Tim Kimber
4f5b518038
Update staging certificate names
5 years ago
Tim Kimber
2863e9e52d
Clear previous dns entries before adding a new entry
5 years ago
Tim Kimber
27af6d9f2f
Fix test scripts to add to dns once and remove once
5 years ago
Tim Kimber
522918f023
Add FULL_CHAIN_INCLUDE_ROOT
Fixes #594 #272 #564
5 years ago
Tim Kimber
10061936bd
Fix interpreter line in dns_add_fail
5 years ago
Tim Kimber
fa89d7bfed
Add tests for PREFERRED_CHAIN
5 years ago
Tim Kimber
67a7e5d453
Merge getssl-dns01 and getssl-staging-dns01 into a single cfg file
5 years ago
Tim Kimber
d9559b1e42
Fix tests failure when pushing new version to master
5 years ago
Benno-K
9853fd39d6
More elegant way to get versions
5 years ago
Benno-K
15a8f9f1ee
Removed echo-statements
5 years ago
Benno-K
a342bf7f4c
Changed 32-test-upgrade.bats to actually check the update functionality of the newly developped version - also change the way of determining the versions
5 years ago
Tim Kimber
d167d72927
Test specific config must be updated after setup_environment
5 years ago
Tim Kimber
99d1fcccf6
Fix staging tests where vsftpd is not installed
5 years ago
Tim Kimber
170e65d1cd
Add +x for scripts used in testing
5 years ago
Tim Kimber
8f32f9f078
Test ftp and passive ftp
5 years ago
Tim Kimber
4d23e085e1
Add FTP_OPTIONS
5 years ago
Tim Kimber
12eb0ae0d1
First ftp test
5 years ago
Tim Kimber
3fb75d493f
Change --$var to $var-1 for Alpine
5 years ago
Tim Kimber
a749cb4606
Add tests for --upgrade and posix error
5 years ago
Tim Kimber
1b24a5820f
Set env variables when running bash containers
5 years ago
Tim Kimber
4b2d4e4109
Use vault.centos6
5 years ago
Tim Kimber
140456f602
Run tests on older versions of bash
5 years ago
Tim Kimber
f8f3e5b901
Updated tests to reproduce bug in #617
5 years ago
Tim Kimber
dd3d72a806
Add tests for issue #617
5 years ago
Tim Kimber
35a3e0226f
Remove duplicate teardown() function
5 years ago
Tim Kimber
bd11be65cc
Fix typo
5 years ago
Tim Kimber
aef203287c
Check that dig doesn't return an error before setting HAS_DIG_OR_DRILL
5 years ago
Tim Kimber
1d1159f946
Add timing information to tests
5 years ago
Tim Kimber
b931b79d62
Fix execute permission on dns scripts
5 years ago
Tim Kimber
f33f796c93
Ensure GETSSL_OS variable is set
5 years ago
Tim Kimber
5d6988f0ec
Test using both Dynu.com and Duckdns.org
5 years ago