test(parallels): avoid host Safari substitution

This commit is contained in:
Peter Steinberger
2026-04-11 20:08:36 +01:00
parent 0e3f9657da
commit e20464935a

View File

@@ -1230,7 +1230,7 @@ deadline=\$((SECONDS + 20))
while [ \$SECONDS -lt \$deadline ]; do
# Tahoe can hand dashboard sockets to WebKit helpers even after the Safari
# app process exits, so require a non-node client connection rather than a
# long-lived `Safari` process specifically.
# long-lived Safari process specifically.
if lsof -nPiTCP:"\$dashboard_port" -sTCP:ESTABLISHED 2>/dev/null \
| awk 'NR > 1 && \$1 != "node" { found = 1 } END { exit found ? 0 : 1 }'; then
exit 0