mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Add checker run to integration test scripts
This commit is contained in:
parent
8bf769ab98
commit
b8a6c1914a
2 changed files with 21 additions and 0 deletions
|
|
@ -98,3 +98,5 @@ popd
|
|||
|
||||
# Test resolving DNS record
|
||||
curl https://$DNS_NAME --insecure
|
||||
|
||||
./testChecker.sh
|
||||
|
|
|
|||
19
docs/scripts/testChecker.sh
Executable file
19
docs/scripts/testChecker.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# This file is Free Software under the MIT License
|
||||
# without warranty, see README.md and LICENSES/MIT.txt for details.
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2022 German Federal Office for Information Security (BSI) <https://www.bsi.bund.de>
|
||||
# Software-Engineering: 2022 Intevation GmbH <https://intevation.de>
|
||||
|
||||
set -e # to exit if a command in the script fails
|
||||
|
||||
cd ~/csaf_distribution
|
||||
|
||||
./bin-linux-amd64/csaf_checker -o show.html --insecure \
|
||||
--client-cert ~/devca1/testclient1.crt --client-key \
|
||||
~/devca1/testclient1-key.pem localhost -f html \
|
||||
|
||||
cat show.html
|
||||
Loading…
Add table
Add a link
Reference in a new issue