aboutsummaryrefslogtreecommitdiffstats
path: root/tests/run_test.sh
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-17 22:30:28 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-17 22:44:44 +0100
commit229a536a87f6b2075000e659219e0567b45345c5 (patch)
tree2a69cb8e2117741fa0387dde8561c9fe22e92a72 /tests/run_test.sh
parent381f5c8b480ccafad5b1ce3c3766229f3791cb51 (diff)
downloadBobinkCOpcUa-229a536a87f6b2075000e659219e0567b45345c5.tar.gz
BobinkCOpcUa-229a536a87f6b2075000e659219e0567b45345c5.zip
Update certificate generation: keep intermediate files, fix URI format
Stop deleting intermediate PEM and CNF files so they can be reused. Change default application URI from urn:bobink.<name> to urn:localhost:bobink:<name> to follow proper URN syntax (Qt OPC UA rejects the dotted format). Update all config files and test configs to use the new URI format.
Diffstat (limited to 'tests/run_test.sh')
-rwxr-xr-xtests/run_test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run_test.sh b/tests/run_test.sh
index ef359ef..fc44ad6 100755
--- a/tests/run_test.sh
+++ b/tests/run_test.sh
@@ -92,8 +92,8 @@ FS_OUTPUT=$(<"$TMPFILE")
[ "$FS_RC" -eq 0 ]
check "find-servers exit code is 0 (got $FS_RC)" $?
-echo "$FS_OUTPUT" | grep -q "urn:bobink.ServerRegister"
-check "find-servers contains urn:bobink.ServerRegister" $?
+echo "$FS_OUTPUT" | grep -q "urn:localhost:bobink:ServerRegister"
+check "find-servers contains urn:localhost:bobink:ServerRegister" $?
# ── GetEndpoints ──────────────────────────────────────────────
build/Client "$CONFIG_DIR/client.conf" get-endpoints "opc.tcp://localhost:$SR_PORT" >"$TMPFILE" 2>&1