#!/usr/bin/env bash # Generic test-server image switch: rollback tag first, 0600 runtime.env backup, # post-edit verification (exactly 1 DOBOTAI_IMAGE line, unchanged line count), # container recreate, then read-only readback incl. binary literal presence. # Usage: bash test_switch_image.sh