Comparison

GNUmakefile @ 13816:4122978f2575 13.0

spec/tls: Add TLS/certificate integration tests These tests help to verify that various configurations translate into the expected running TLS setups. Specifically right now we are checking the correct certificate is served.
author Matthew Wild <mwild1@gmail.com>
date Thu, 03 Apr 2025 15:11:58 +0100
parent 12979:fbbf4f0db8f0
comparison
equal deleted inserted replaced
13814:98e68a68c1da 13816:4122978f2575
120 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua start 120 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua start
121 $(SCANSION) ./spec/scansion/$*.scs; R=$$? \ 121 $(SCANSION) ./spec/scansion/$*.scs; R=$$? \
122 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop \ 122 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop \
123 exit $$R 123 exit $$R
124 124
125 integration-test-tls: all
126 cd ./spec/tls && ./run.sh
127
125 coverage: 128 coverage:
126 -rm -- luacov.* 129 -rm -- luacov.*
127 $(BUSTED) --lua=$(RUNWITH) -c 130 $(BUSTED) --lua=$(RUNWITH) -c
128 luacov 131 luacov
129 luacov-console 132 luacov-console