diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-12 15:57:16 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-12 16:39:19 +0100 |
commit | 07c742d95b067ab59fca860dfaed9470d0d14357 (patch) | |
tree | da45b22c6fde16facb20898227dd680c095f1259 /test/test.sh | |
parent | update docker-compose.yml (diff) | |
download | wg-api-web-07c742d95b067ab59fca860dfaed9470d0d14357.tar.gz wg-api-web-07c742d95b067ab59fca860dfaed9470d0d14357.zip |
test: add more headers to logs
Diffstat (limited to '')
-rwxr-xr-x | test/test.sh | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh index 12c0c3f..c8839bb 100755 --- a/test/test.sh +++ b/test/test.sh @@ -101,11 +101,18 @@ add_devices() { build_services() { echo ------------------------------------------------------------------ - echo Building + echo Pull third-party images echo ------------------------------------------------------------------ - docker-compose pull api + + echo ------------------------------------------------------------------ + echo Build wg-api-web + echo ------------------------------------------------------------------ docker-compose build --force-rm --progress plain --pull web + + echo ------------------------------------------------------------------ + echo docker-compose up + echo ------------------------------------------------------------------ WG_IFACE=server docker-compose up -d } @@ -120,6 +127,9 @@ run_curl_api() { call_api_method() { local method for method; do + echo ------------------------------------------------------------------ + echo "Checking API method: $method" + echo ------------------------------------------------------------------ run_curl_api -d '{"jsonrpc": "2.0", "method": "'"$method"'", "params": {}}' done } |