Skip to content

Commit 4017813

Browse files
committed
Linux: harmonize content of test volumes and update Github workflow for this
1 parent 9a7cb51 commit 4017813

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/build-linux.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ jobs:
8585
uses: actions/upload-artifact@v3
8686
with:
8787
name: veracrypt-gui-debs
88-
path: /tmp/VeraCrypt_Packaging/GUI/Packaging/veracrypt-*.{deb,sha256}
88+
path: /tmp/VeraCrypt_Packaging/GUI/Packaging/veracrypt-*.deb
8989

9090
- name: Upload Console .deb packages
9191
uses: actions/upload-artifact@v3
9292
with:
9393
name: veracrypt-console-debs
94-
path: /tmp/VeraCrypt_Packaging/Console/Packaging/veracrypt-console-*.{deb,sha256}
94+
path: /tmp/VeraCrypt_Packaging/Console/Packaging/veracrypt-console-*.deb
9595

9696
- name: Install and test VeraCrypt GUI .deb packages
9797
run: |
@@ -102,26 +102,26 @@ jobs:
102102
sudo veracrypt --text --non-interactive Tests/test.streebog.hc --hash streebog --slot 3 --password test --mount-options=ro
103103
sudo veracrypt --text --non-interactive Tests/test.whirlpool.hc --hash whirlpool --slot 4 --password test --mount-options=ro
104104
sudo veracrypt --text --list
105-
echo -n "dummy" > /tmp/expected_content.txt
106-
if cmp -s /media/veracrypt1/dummy.txt /tmp/expected_content.txt; then
105+
echo -n "Dummy" > /tmp/expected_content.txt
106+
if cmp -s /media/veracrypt1/Dummy.txt /tmp/expected_content.txt; then
107107
echo "Content of test.sha256.hc is valid."
108108
else
109109
echo "Content of test.sha256.hc is invalid!"
110110
exit 1
111111
fi
112-
if cmp -s /media/veracrypt2/dummy.txt /tmp/expected_content.txt; then
112+
if cmp -s /media/veracrypt2/Dummy.txt /tmp/expected_content.txt; then
113113
echo "Content of test.sha512.hc is valid."
114114
else
115115
echo "Content of test.sha512.hc is invalid!"
116116
exit 1
117117
fi
118-
if cmp -s /media/veracrypt3/dummy.txt /tmp/expected_content.txt; then
118+
if cmp -s /media/veracrypt3/Dummy.txt /tmp/expected_content.txt; then
119119
echo "Content of test.streebog.hc is valid."
120120
else
121121
echo "Content of test.streebog.hc is invalid!"
122122
exit 1
123123
fi
124-
if cmp -s /media/veracrypt4/dummy.txt /tmp/expected_content.txt; then
124+
if cmp -s /media/veracrypt4/Dummy.txt /tmp/expected_content.txt; then
125125
echo "Content of test.whirlpool.hc is valid."
126126
else
127127
echo "Content of test.whirlpool.hc is invalid!"

Tests/test.sha256.hc

0 Bytes
Binary file not shown.

Tests/test.sha512.hc

-1 Bytes
Binary file not shown.

Tests/test.streebog.hc

0 Bytes
Binary file not shown.

Tests/test.whirlpool.hc

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)