rename project to runaway

This commit is contained in:
2026-11-09 10:13:51 +08:00
parent 5857081832
commit c9feb8c05a
95 changed files with 1034 additions and 1034 deletions
+3 -3
View File
@@ -4,7 +4,7 @@ run_preview() {
local script="$1" command="$2" recovery="$3"
local definitions="$BATS_TEST_TMPDIR/preview.functions"
sed '/^main "\$@"$/d' "$script" > "$definitions"
run "${UNLEASH_TEST_SHELL:-bash}" -u -c '
run "${RUNAWAY_TEST_SHELL:-bash}" -u -c '
source "$1"
action="$2" recovery="$3"
load_config() { :; }
@@ -16,7 +16,7 @@ run_preview() {
@test "suppress and bypass dry runs return before target resolution" {
local entrypoint action
for entrypoint in unleash unleash-standalone.sh; do
for entrypoint in runaway runaway-standalone.sh; do
for action in suppress bypass; do
run_preview "$BATS_TEST_DIRNAME/../$entrypoint" "$action" 0
[ "$status" -eq 0 ]
@@ -28,7 +28,7 @@ run_preview() {
@test "bypass dry run still rejects a booted OS" {
local entrypoint
for entrypoint in unleash unleash-standalone.sh; do
for entrypoint in runaway runaway-standalone.sh; do
run_preview "$BATS_TEST_DIRNAME/../$entrypoint" bypass 1
[ "$status" -ne 0 ]
[[ "$output" == *"Full bypass must run from Recovery mode"* ]]