1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Add checker run to integration test scripts

This commit is contained in:
Fadi Abbud 2022-05-17 09:12:20 +02:00 committed by GitHub
parent 8bf769ab98
commit b8a6c1914a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View file

@ -98,3 +98,5 @@ popd
# Test resolving DNS record
curl https://$DNS_NAME --insecure
./testChecker.sh

19
docs/scripts/testChecker.sh Executable file
View 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