aboutsummaryrefslogtreecommitdiff
path: root/test/001-error-no-args.test/run.sh
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2020-09-05 15:39:19 +1200
committerDavid Phillips <david@yeah.nah.nz>2020-09-05 15:39:19 +1200
commit6d81ef9443797d9174fc0849f8ec01d423754490 (patch)
tree69cf73e959514ad1b36981c0d84dd58597cfcc29 /test/001-error-no-args.test/run.sh
parent2b2ad2c10770c6a864f3ada1e2803ed72c8dfa1b (diff)
downloadsand-leek-6d81ef9443797d9174fc0849f8ec01d423754490.tar.xz
Handle multiple returned domains in 002-test-key-name.test
This patch resolves a source of unreliability in the 002-test-key-name test. If sand-leek returned multiple "Found: " lines, then the test script would take only the first, and expect that they RSA key is for this domain. However, this isn't always true, due to the parallel nature of the program. Instead, this patch adjusts the test to capture all found domains, and assert that the domain calculated from the RSA key is one of these domains. Tested 100% reliable over 1000 repetitions.
Diffstat (limited to 'test/001-error-no-args.test/run.sh')
0 files changed, 0 insertions, 0 deletions