From 5f9136a3b5af02dae433dd2a8168903c7f6d86aa Mon Sep 17 00:00:00 2001 From: aperod-network Date: Fri, 16 Oct 2026 01:55:30 +0500 Subject: [PATCH] chore: maintain verified source distribution --- deploy/test-join-network-rsync-guard.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/test-join-network-rsync-guard.sh b/deploy/test-join-network-rsync-guard.sh index fb6afec..d36a9ec 100644 --- a/deploy/test-join-network-rsync-guard.sh +++ b/deploy/test-join-network-rsync-guard.sh @@ -323,7 +323,7 @@ fi # ── Assertion P6: source node was restarted after rsync ────────────────────── # "Перезапускаем aperod-node на источнике" must appear and the start call must # happen — we verify the message in the output. -if echo "${LAST_OUTPUT}" | grep -q "источнике"; then +if [[ "${LAST_OUTPUT}" == *"источнике"* ]]; then pass "P6: output confirms source node was restarted after rsync" else fail "P6: no source-restart confirmation found in output. Got:\n${LAST_OUTPUT}" @@ -570,7 +570,7 @@ fi # ── Assertion RI4: trap confirmed source-node restart attempt ───────────────── # The trap message contains "источнике" (Russian for "on the source"). -if echo "${LAST_OUTPUT}" | grep -q "источнике"; then +if [[ "${LAST_OUTPUT}" == *"источнике"* ]]; then pass "RI4: trap confirmed source-node restart attempt ('источнике' present)" else fail "RI4: expected 'источнике' in trap output. Got:\n${LAST_OUTPUT}" @@ -1368,7 +1368,7 @@ else fail "PF3: target was NOT restarted by trap — node left stopped unnecessarily. Output:\n${LAST_OUTPUT}" fi -if echo "${LAST_OUTPUT}" | grep -q "источнике"; then +if [[ "${LAST_OUTPUT}" == *"источнике"* ]]; then pass "PF4: source node restart attempt confirmed in trap output" else fail "PF4: expected source-restart message ('источнике') in trap output. Got:\n${LAST_OUTPUT}"