update V2

This commit is contained in:
David Schroeder
2026-08-12 23:01:19 -05:00
parent 72d61e5785
commit 1d50229a08
7 changed files with 29 additions and 14 deletions
+4 -4
View File
@@ -6,8 +6,8 @@ source "${TEST_ROOT}/tests/testlib.sh"
TAPM_PULSE_STANDALONE_NO_MAIN=1
source "${TEST_ROOT}/install-pulse.sh"
assert_success "default V2 source branch accepted" \
TAPM_PULSE_VALID_SOURCE_BRANCH V2
assert_success "default main source branch accepted" \
TAPM_PULSE_VALID_SOURCE_BRANCH main
assert_success "nested release branch accepted" \
TAPM_PULSE_VALID_SOURCE_BRANCH releases/pulse-6
assert_failure "empty source branch rejected" \
@@ -16,9 +16,9 @@ assert_failure "source branch traversal rejected" \
TAPM_PULSE_VALID_SOURCE_BRANCH '../main'
assert_success "HTTPS source base accepted" \
TAPM_PULSE_VALID_SOURCE_BASE \
https://tagit.technologyarch.com/TAI/TA-ProxMenu/raw/branch/V2
https://tagit.technologyarch.com/TAI/TA-ProxMenu/raw/branch/main
assert_failure "HTTP source base rejected" \
TAPM_PULSE_VALID_SOURCE_BASE \
http://tagit.technologyarch.com/TAI/TA-ProxMenu/raw/branch/V2
http://tagit.technologyarch.com/TAI/TA-ProxMenu/raw/branch/main
finish_tests
+6
View File
@@ -18,5 +18,11 @@ assert_success "ENTER2CONTINUE is bundled in TA-ProxMenu defaults" \
assert_failure "runtime launchers do not reference external iDS defaults" \
grep -E -q '/opt/idssys/defaults|iDS-Defaults' \
"${TEST_ROOT}/run.sh" "${TEST_ROOT}/proxmenu-scripts.sh"
assert_success "current preloader marks proxmenu launches" \
grep -q '^TAPM_PRELOADER_ACTIVE=1 /opt/idssys/ta-proxmenu/proxmenu-scripts.sh' \
"${TEST_ROOT}/run.sh"
assert_success "legacy post-update launch returns to current preloader" \
grep -q 'if \[\[ "${TAPM_PRELOADER_ACTIVE:-0}" != 1 \]\]; then' \
"${TEST_ROOT}/proxmenu-scripts.sh"
finish_tests