From e04bfcdc10660ce65e466d260edecfd11c6aae2d Mon Sep 17 00:00:00 2001 From: ochenstarik-ui Date: Tue, 18 Aug 2026 01:36:24 +0700 Subject: [PATCH] test: expect control mesh state initialization --- tests/bootstrap/test-bootstrap-contract.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bootstrap/test-bootstrap-contract.sh b/tests/bootstrap/test-bootstrap-contract.sh index 930f316..69676e1 100755 --- a/tests/bootstrap/test-bootstrap-contract.sh +++ b/tests/bootstrap/test-bootstrap-contract.sh @@ -537,7 +537,7 @@ grep -Fq 'chmod 0660 "$MESH_DIR/nodes.tsv"' "$bootstrap" grep -Fq 'install -d -m 0700 -o root -g root "$WG_DIR" /etc/wireguard' "$bootstrap" mesh_init_definition="$(extract_bootstrap_function mesh_init)" grep -Fq ' ensure_system_user "$CONTROL_USER"' <<<"$mesh_init_definition" -[[ "$(grep -Fc ' ensure_mesh_state' "$bootstrap")" -eq 2 ]] +[[ "$(grep -Fc ' ensure_mesh_state' "$bootstrap")" -eq 3 ]] grep -Fq ' repair_mesh_state_permissions' <<<"$prepare_control_state_definition" if [[ "$(uname -s)" != MINGW* ]] && command -v sudo >/dev/null 2>&1; then bash "$root/tests/bootstrap/test-mesh-state-permissions.sh"