aboutsummaryrefslogtreecommitdiff
path: root/unit_label.c
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 /unit_label.c
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 'unit_label.c')
0 files changed, 0 insertions, 0 deletions