Commit 86c1953 1 parent f298508 commit 86c1953 Copy full SHA for 86c1953
File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
.AUTHOR
3
3
sp00n
4
4
.VERSION
5
- 0.9.6.1
5
+ 0.9.6.2
6
6
.DESCRIPTION
7
7
Sets the affinity of the selected stress test program process to only one
8
8
core and cycles through all the cores which allows to test the stability of
17
17
18
18
19
19
# Our current version
20
- $version = '0.9.6.1 '
20
+ $version = '0.9.6.2 '
21
21
22
22
23
23
# This defines the strict mode
@@ -9820,7 +9820,7 @@ try {
9820
9820
# Randomized
9821
9821
elseif ($coreTestOrderMode -eq 'random') {
9822
9822
Write-Verbose('Random test order selected, building the test order array...')
9823
- [System.Collections.ArrayList] $coreTestOrderArray = ( $coreTestOrderArray | Sort-Object { Get-Random })
9823
+ [System.Collections.ArrayList] $coreTestOrderArray = @(@( $coreTestOrderArray) | Sort-Object { Get-Random })
9824
9824
}
9825
9825
9826
9826
# Custom
@@ -9846,6 +9846,9 @@ try {
9846
9846
Write-Debug('The number of cores with a WHEA error: ' + $numCoresWithWheaError)
9847
9847
9848
9848
9849
+ if (@($coreTestOrderArray).Count -lt 1) {
9850
+ Exit-WithFatalError('No valid core to test selected!')
9851
+ }
9849
9852
9850
9853
9851
9854
# Iterate over each core
You can’t perform that action at this time.
0 commit comments