diff options
Diffstat (limited to 'tests/run_download_cert_test.sh')
| -rwxr-xr-x | tests/run_download_cert_test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/run_download_cert_test.sh b/tests/run_download_cert_test.sh index f20609c..3631c56 100755 --- a/tests/run_download_cert_test.sh +++ b/tests/run_download_cert_test.sh @@ -63,15 +63,15 @@ if ss -tlnp 2>/dev/null | grep -q ":${LDS_PORT} "; then fi # ── start LDS ────────────────────────────────────────────────── -build/ServerLDS "$CONFIG_DIR/server_lds.conf" >/dev/null 2>&1 & +build/bobink_opcua_discovery_server "$CONFIG_DIR/server_lds.conf" >/dev/null 2>&1 & LDS_PID=$! -wait_for_port "$LDS_PORT" "$LDS_PID" "ServerLDS" +wait_for_port "$LDS_PORT" "$LDS_PID" "bobink_opcua_discovery_server" # ── download certificate ─────────────────────────────────────── TMPFILE=$(mktemp) DOWNLOADED_CERT=$(mktemp --suffix=.der) -build/Client "$CONFIG_DIR/client.conf" download-cert "opc.tcp://localhost:$LDS_PORT" "$DOWNLOADED_CERT" >"$TMPFILE" 2>&1 +build/client "$CONFIG_DIR/client.conf" download-cert "opc.tcp://localhost:$LDS_PORT" "$DOWNLOADED_CERT" >"$TMPFILE" 2>&1 DC_RC=$? DC_OUTPUT=$(<"$TMPFILE") |
