From f5d0000ffa1f6a35f71a536259f313e2eba55f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abdurrahman=20Kaan=20Dike=C3=A7?= Date: Mon, 12 Oct 2026 00:26:00 +0300 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_01DqKKtBQZCfxYnHuBCuDqqn --- tests/installer.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/installer.Tests.ps1 b/tests/installer.Tests.ps1 index 1c138352..cd65cf2d 100644 --- a/tests/installer.Tests.ps1 +++ b/tests/installer.Tests.ps1 @@ -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 --------------------------------------