mirror of
https://github.com/kakwa/uts-server
synced 2024-11-05 01:08:51 +01:00
adding a small external test
This commit is contained in:
parent
8a9c76bcd3
commit
873dc61860
@ -6,6 +6,7 @@ matrix:
|
||||
sudo: false
|
||||
|
||||
before_install:
|
||||
- ./tests/cfg/pki/create_tsa_certs
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xcode-select --install; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install argp-standalone; fi
|
||||
@ -31,4 +32,4 @@ language: c
|
||||
|
||||
compiler: clang
|
||||
|
||||
script: cmake . -DBUNDLE_CIVETWEB=ON && make
|
||||
script: cmake . -DBUNDLE_CIVETWEB=ON && make && ./tests/external_test.sh
|
||||
|
8
tests/external_test.sh
Executable file
8
tests/external_test.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
timeout 20 ./uts-server -c tests/cfg/uts-server.cnf -D &
|
||||
|
||||
./goodies/timestamp-file.sh -i README.md -u http://localhost:2020 -r -O "-cert" || exit 1
|
||||
./goodies/timestamp-file.sh -i README.md -u http://localhost:2020 -r -O "-cert" || exit 1
|
||||
./goodies/timestamp-file.sh -i README.md -u http://localhost:2020 -r -O "-cert" || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user