installer.Tests.ps1: the adb env check expects SYNC_BOOTCHAIN between ADB_KEY and PWHASH

The merge put the boot chain key after the adb keys (as test_installer.py checks); the PowerShell check
from #150 still looked for PWHASH right after ADB_KEY.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DqKKtBQZCfxYnHuBCuDqqn
This commit is contained in:
Abdurrahman Kaan DikeçandClaude Fable 5.1 committed 2026-10-12 00:26:00 +03:00
1 parent 7ee682f737
commit f5d0000ffa
1 file changed
+1 -1
+1 -1
View File
@@ -154,7 +154,7 @@ Check 'env sd: no CR' ($t.Contains("`r")) $false
$t = InstallEnvText $inEnv
Check 'env internal' ($t -match "(?m)^OFF=27762098176\nSIZE=34776023040\nOFF_S=54222848\nSIZE_S=67921920\nFORMAT=0\n") $true
Check 'env internal: sd' ($t -match "(?m)^UPDATE=1\n" -and $t -match "(?m)^SD_MODE=0\nSD_DEV=\nINTERNAL_EXISTS=0\n") $true
Check 'env internal: adb' ($t -match ("(?m)^ADB=1\nADB_KEY='QAAAA" + ('A' * 694) + "= me@host'\nPWHASH=")) $true
Check 'env internal: adb' ($t -match ("(?m)^ADB=1\nADB_KEY='QAAAA" + ('A' * 694) + "= me@host'\nSYNC_BOOTCHAIN=1\nPWHASH=")) $true
Check 'env sd: adb off' ((InstallEnvText $sdEnv) -match "(?m)^ADB=0\nADB_KEY=''\n") $true
# ---- AdbPubKey: the installing computer's adb key, safe inside single quotes --------------------------------------