@@ -105,7 +105,7 @@ Describe 'Invoke-ATHMSI' {
105
105
$Result.RunnerProcessId | Should -Not - BeNullOrEmpty
106
106
$Result.RunnerProcessName | Should -Not - BeNullOrEmpty
107
107
$Result.RunnerChildProcessId | Should -Not - BeNullOrEmpty
108
- $Result.RunnerChildProcessName | Should -Match ' MSI[A-Z0-9]{4}\.tmp'
108
+ $Result.RunnerChildProcessName | Should -Match ' MSI[A-Z0-9]{2, 4}\.tmp'
109
109
$Result.RunnerChildProcessCommandLine | Should -Not - BeNullOrEmpty
110
110
}
111
111
@@ -183,7 +183,7 @@ Describe 'Invoke-ATHMSI' {
183
183
$Result.MsiExecProcessCommandLine | Should - BeNull
184
184
$Result.RunnerProcessId | Should -Not - BeNullOrEmpty
185
185
$Result.RunnerChildProcessId | Should -Not - BeNullOrEmpty
186
- $Result.RunnerChildProcessName | Should -Match ' MSI[A-Z0-9]{4}\.tmp'
186
+ $Result.RunnerChildProcessName | Should -Match ' MSI[A-Z0-9]{2, 4}\.tmp'
187
187
$Result.RunnerChildProcessCommandLine | Should -Not - BeNullOrEmpty
188
188
}
189
189
@@ -261,7 +261,7 @@ Describe 'Invoke-ATHMSI' {
261
261
$Result.MsiExecProcessCommandLine | Should - BeNull
262
262
$Result.RunnerProcessId | Should -Not - BeNullOrEmpty
263
263
$Result.RunnerChildProcessId | Should -Not - BeNullOrEmpty
264
- $Result.RunnerChildProcessName | Should -Match ' MSI[A-Z0-9]{4}\.tmp'
264
+ $Result.RunnerChildProcessName | Should -Match ' MSI[A-Z0-9]{2, 4}\.tmp'
265
265
$Result.RunnerChildProcessCommandLine | Should -Not - BeNullOrEmpty
266
266
}
267
267
@@ -313,7 +313,7 @@ Describe 'Invoke-ATHMSI' {
313
313
$Result.MsiExecProcessCommandLine | Should - BeNull
314
314
$Result.RunnerProcessId | Should -Not - BeNullOrEmpty
315
315
$Result.RunnerChildProcessId | Should -Not - BeNullOrEmpty
316
- $Result.RunnerChildProcessName | Should -Match ' MSI[A-Z0-9]{4}\.tmp'
316
+ $Result.RunnerChildProcessName | Should -Match ' MSI[A-Z0-9]{2, 4}\.tmp'
317
317
$Result.RunnerChildProcessCommandLine | Should -Not - BeNullOrEmpty
318
318
}
319
319
}
0 commit comments