Skip to content

Commit b33598d

Browse files
dmmdeaclaude
andcommitted
installer test: require the nvpair-sensors service registration
The customInstall assertion accepted the sensors-service macro as optional, so the test would still pass if the Windows installer stopped registering nvpair-sensors. The fork always ships it; make it required. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 3e69e72 commit b33598d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/windows-vc-runtime-installers.test.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test('desktop packaging verifies and installs the staged runtime', () => {
4444
assert.match(
4545
installer,
4646
// The fork registers its Windows-only nvpair-sensors service last.
47-
/!macro customInstall\s+!insertmacro pairAssertPayloadInstalled\s+!insertmacro pairInstallVcRuntime\s+!insertmacro pairAddFirewallRules\s+(?:!insertmacro pairInstallSensorsService\s+)?!macroend/
47+
/!macro customInstall\s+!insertmacro pairAssertPayloadInstalled\s+!insertmacro pairInstallVcRuntime\s+!insertmacro pairAddFirewallRules\s+!insertmacro pairInstallSensorsService\s+!macroend/
4848
)
4949
assert.match(installer, /Delete "\$INSTDIR\\resources\\installer-tools\\VC_redist\.x64\.exe"/)
5050
assertRuntimeExitHandling(installer, '$8')

0 commit comments

Comments
 (0)