Software / code / prosody
Annotate
spec/tls/config2/assert.sh @ 13874:bfa8ac5881a0 default tip
mod_http_files: Fail if missing the required 'http_files_dir' setting
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 13 May 2025 22:38:34 +0200 |
| parent | 13816:4122978f2575 |
| rev | line source |
|---|---|
|
13816
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 #!/bin/bash |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 #set -x |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
5 . ../lib.sh |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
6 |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
7 expect_cert "certs/xmpp.example.com.crt" "localhost:5281" "xmpp.example.com" "tls" |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
8 expect_cert "certs/example.com.crt" "localhost:5222" "example.com" "xmpp" |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
9 |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
10 exit "$failures" |