mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-04-24 00:54:03 -04:00
Fix broken md5 checksum test.
This commit is contained in:
@@ -4,7 +4,7 @@ Feature: Verify checksums
|
||||
Given the internet is reachable
|
||||
And an initialised environment
|
||||
|
||||
Scenario: Install a specific Candidate with a valid SHA-256 checksum
|
||||
Scenario: Install a specific Version with a valid SHA-256 checksum
|
||||
Given the system is bootstrapped
|
||||
And the candidate "grails" version "1.3.9" is available for download with checksum "1f9234c8e622ec46d33883ea45b39ede768b92d478fe08f6952548247f7fbb65" using algorithm "SHA-256"
|
||||
When I enter "sdk install grails 1.3.9"
|
||||
@@ -13,7 +13,7 @@ Feature: Verify checksums
|
||||
And the response headers file is created for candidate "grails" and version "1.3.9"
|
||||
And the exit code is 0
|
||||
|
||||
Scenario: Install a specific Candidate with a valid SHA1 checksum
|
||||
Scenario: Install a specific Version with a valid SHA1 checksum
|
||||
Given the system is bootstrapped
|
||||
And the candidate "grails" version "1.3.9" is available for download with checksum "c68e386a6deec9fc4c1e18df21f92739ba2ab36e" using algorithm "SHA1"
|
||||
When I enter "sdk install grails 1.3.9"
|
||||
@@ -22,7 +22,7 @@ Feature: Verify checksums
|
||||
And the response headers file is created for candidate "grails" and version "1.3.9"
|
||||
And the exit code is 0
|
||||
|
||||
Scenario: Install a specific Candidate with a valid md5 checksum
|
||||
Scenario: Install a specific Version with a valid md5 checksum
|
||||
Given the system is bootstrapped
|
||||
And the candidate "grails" version "1.3.9" is available for download with checksum "1e87a7d982a2f41da96fdec289908552" using algorithm "MD5"
|
||||
When I enter "sdk install grails 1.3.9"
|
||||
@@ -61,7 +61,7 @@ Feature: Verify checksums
|
||||
|
||||
Scenario: Abort installation after download of a binary with invalid MD5 checksum
|
||||
Given the system is bootstrapped
|
||||
And the candidate "grails" version "1.3.9" is available for download with checksum "1e87a7d982a2f41da96fdec289908552" using algorithm "MD5"
|
||||
And the candidate "grails" version "1.3.9" is available for download with checksum "1e87a7d982a2f41da96fdec289908533" using algorithm "MD5"
|
||||
When I enter "sdk install grails 1.3.9"
|
||||
Then I see "Stop! An invalid checksum was detected and the archive removed! Please try re-installing."
|
||||
And the candidate "grails" version "1.3.9" is not installed
|
||||
|
||||
Reference in New Issue
Block a user