Skip to content

Commit a813e72

Browse files
committed
Remove MD5 and SHA1 tests
1 parent 1346449 commit a813e72

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

tests/windows/functional/test_get_filehash.ps1

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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-
4135
function 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-
6553
function test_Get-FileHash_ripemd160 {
6654
$expected = "2A9E791684958676A262B0F506D9219D6820891B"
6755
$hash = Get-FileHash -Path $hash_file -Algorithm RIPEMD160

windows/svtminion.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"
291291
if ($Version) {
292292
Write-Host $SCRIPT_VERSION
293293
exit 0

0 commit comments

Comments
 (0)