File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,12 +32,6 @@ function test_Get-FileHash_directory {
3232 if ($hash.Count -eq 0 ) { return 0 } else { return 1 }
3333}
3434
35- function test_Get-FileHash_sha1 {
36- $expected = " 6E50BA56085F66BEE024AD0A001296CCEDB8FA96"
37- $hash = Get-FileHash - Path $hash_file - Algorithm SHA1
38- if ($hash.Hash -eq $expected ) { return 0 } else { return 1 }
39- }
40-
4135function test_Get-FileHash_sha256 {
4236 $expected = " D84C4F0AB044EEDEC68DB4C6DBF2FB6BE7F11930E17801F4FADAC2C2E6CE188D"
4337 $hash = Get-FileHash - Path $hash_file - Algorithm SHA256
@@ -56,12 +50,6 @@ function test_Get-FileHash_sha512 {
5650 if ($hash.Hash -eq $expected ) { return 0 } else { return 1 }
5751}
5852
59- function test_Get-FileHash_md5 {
60- $expected = " 9191A032DD46B6FF1CD157522AE9056D"
61- $hash = Get-FileHash - Path $hash_file - Algorithm MD5
62- if ($hash.Hash -eq $expected ) { return 0 } else { return 1 }
63- }
64-
6553function test_Get-FileHash_ripemd160 {
6654 $expected = " 2A9E791684958676A262B0F506D9219D6820891B"
6755 $hash = Get-FileHash - Path $hash_file - Algorithm RIPEMD160
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ if ($help) {
287287}
288288
289289# This value is populated via CICD during build
290- $SCRIPT_VERSION = " 2026.01.09 "
290+ $SCRIPT_VERSION = " SCRIPT_VERSION_REPLACE "
291291if ($Version ) {
292292 Write-Host $SCRIPT_VERSION
293293 exit 0
You can’t perform that action at this time.
0 commit comments