diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-07-06 12:11:20 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-07-06 12:11:20 +0200 |
commit | 40178134b6b2aaef69963f31bcccfa540b45abf3 (patch) | |
tree | bf8d46dc8030945c51db66f95edd78ea624067d8 | |
parent | 9a7cb51484492341ff288d2002b7ef9b9e82c035 (diff) | |
download | VeraCrypt-40178134b6b2aaef69963f31bcccfa540b45abf3.tar.gz VeraCrypt-40178134b6b2aaef69963f31bcccfa540b45abf3.zip |
Linux: harmonize content of test volumes and update Github workflow for this
-rw-r--r-- | .github/workflows/build-linux.yml | 14 | ||||
-rw-r--r-- | Tests/test.sha256.hc | bin | 524288 -> 524288 bytes | |||
-rw-r--r-- | Tests/test.sha512.hc | bin | 524288 -> 524287 bytes | |||
-rw-r--r-- | Tests/test.streebog.hc | bin | 524288 -> 524288 bytes | |||
-rw-r--r-- | Tests/test.whirlpool.hc | bin | 524288 -> 524288 bytes |
5 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 254f7a48..4145835a 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -85,13 +85,13 @@ jobs: uses: actions/upload-artifact@v3 with: name: veracrypt-gui-debs - path: /tmp/VeraCrypt_Packaging/GUI/Packaging/veracrypt-*.{deb,sha256} + path: /tmp/VeraCrypt_Packaging/GUI/Packaging/veracrypt-*.deb - name: Upload Console .deb packages uses: actions/upload-artifact@v3 with: name: veracrypt-console-debs - path: /tmp/VeraCrypt_Packaging/Console/Packaging/veracrypt-console-*.{deb,sha256} + path: /tmp/VeraCrypt_Packaging/Console/Packaging/veracrypt-console-*.deb - name: Install and test VeraCrypt GUI .deb packages run: | @@ -102,26 +102,26 @@ jobs: sudo veracrypt --text --non-interactive Tests/test.streebog.hc --hash streebog --slot 3 --password test --mount-options=ro sudo veracrypt --text --non-interactive Tests/test.whirlpool.hc --hash whirlpool --slot 4 --password test --mount-options=ro sudo veracrypt --text --list - echo -n "dummy" > /tmp/expected_content.txt - if cmp -s /media/veracrypt1/dummy.txt /tmp/expected_content.txt; then + echo -n "Dummy" > /tmp/expected_content.txt + if cmp -s /media/veracrypt1/Dummy.txt /tmp/expected_content.txt; then echo "Content of test.sha256.hc is valid." else echo "Content of test.sha256.hc is invalid!" exit 1 fi - if cmp -s /media/veracrypt2/dummy.txt /tmp/expected_content.txt; then + if cmp -s /media/veracrypt2/Dummy.txt /tmp/expected_content.txt; then echo "Content of test.sha512.hc is valid." else echo "Content of test.sha512.hc is invalid!" exit 1 fi - if cmp -s /media/veracrypt3/dummy.txt /tmp/expected_content.txt; then + if cmp -s /media/veracrypt3/Dummy.txt /tmp/expected_content.txt; then echo "Content of test.streebog.hc is valid." else echo "Content of test.streebog.hc is invalid!" exit 1 fi - if cmp -s /media/veracrypt4/dummy.txt /tmp/expected_content.txt; then + if cmp -s /media/veracrypt4/Dummy.txt /tmp/expected_content.txt; then echo "Content of test.whirlpool.hc is valid." else echo "Content of test.whirlpool.hc is invalid!" diff --git a/Tests/test.sha256.hc b/Tests/test.sha256.hc Binary files differindex 72633079..fa7d0113 100644 --- a/Tests/test.sha256.hc +++ b/Tests/test.sha256.hc diff --git a/Tests/test.sha512.hc b/Tests/test.sha512.hc Binary files differindex d8045aa6..740e19ac 100644 --- a/Tests/test.sha512.hc +++ b/Tests/test.sha512.hc diff --git a/Tests/test.streebog.hc b/Tests/test.streebog.hc Binary files differindex 569d0856..72dc93ce 100644 --- a/Tests/test.streebog.hc +++ b/Tests/test.streebog.hc diff --git a/Tests/test.whirlpool.hc b/Tests/test.whirlpool.hc Binary files differindex bfbf6c12..c46c405e 100644 --- a/Tests/test.whirlpool.hc +++ b/Tests/test.whirlpool.hc |