@@ -75,7 +75,7 @@ function test_Get-SaltPackageInfo_local_major_version{
7575 $base_url = " $ ( $pwd.Path ) \tests\testarea"
7676 $MinionVersion = " 3006"
7777 $test = Get-SaltPackageInfo - MinionVersion $MinionVersion
78- if ( $test.version -ne " 3006.10 " ) { $failed = 1 }
78+ if ( $test.version -ne " 3006.9 " ) { $failed = 1 }
7979 $exp_name = " salt-$ ( $test.version ) -onedir-windows-amd64.zip"
8080 $exp_url = " $base_url /$ ( $test.version ) /$exp_name "
8181 $failed = 0
@@ -86,8 +86,8 @@ function test_Get-SaltPackageInfo_local_major_version{
8686 return $failed
8787}
8888
89- # testarea includes 3006.10 (GA) and 3006.10rc1 (prerelease) . Global "latest"
90- # stays 3007.1; major "3006" picks GA 3006.10 ; exact "3006.10rc1 " picks the RC dir.
89+ # testarea has GA 3006.9 (highest 3006.x); prerelease 3006.9rc1 is separate . Global
90+ # "latest" stays 3007.1; major "3006" picks GA 3006.9 ; exact "3006.9rc1 " picks the RC dir.
9191function test_Get-SaltPackageInfo_local_latest_unchanged_when_rc_not_highest_ga {
9292 $base_url = " $ ( $pwd.Path ) \tests\testarea"
9393 $MinionVersion = " latest"
@@ -107,7 +107,7 @@ function test_Get-SaltPackageInfo_local_major_3006_resolves_to_ga_not_rc {
107107 $MinionVersion = " 3006"
108108 $test = Get-SaltPackageInfo - MinionVersion $MinionVersion
109109 $failed = 0
110- if ( $test.version -ne " 3006.10 " ) { $failed = 1 }
110+ if ( $test.version -ne " 3006.9 " ) { $failed = 1 }
111111 $exp_name = " salt-$ ( $test.version ) -onedir-windows-amd64.zip"
112112 $exp_url = " $base_url /$ ( $test.version ) /$exp_name "
113113 if ( $test.file_name -ne $exp_name ) { $failed = 1 }
@@ -118,10 +118,10 @@ function test_Get-SaltPackageInfo_local_major_3006_resolves_to_ga_not_rc {
118118
119119function test_Get-SaltPackageInfo_local_exact_rc_version {
120120 $base_url = " $ ( $pwd.Path ) \tests\testarea"
121- $MinionVersion = " 3006.10rc1 "
121+ $MinionVersion = " 3006.9rc1 "
122122 $test = Get-SaltPackageInfo - MinionVersion $MinionVersion
123123 $failed = 0
124- if ( $test.version -ne " 3006.10rc1 " ) { $failed = 1 }
124+ if ( $test.version -ne " 3006.9rc1 " ) { $failed = 1 }
125125 $exp_name = " salt-$ ( $test.version ) -onedir-windows-amd64.zip"
126126 $exp_url = " $base_url /$ ( $test.version ) /$exp_name "
127127 if ( $test.file_name -ne $exp_name ) { $failed = 1 }
0 commit comments