Skip to content

Commit a0f2d7f

Browse files
Fix SFTP test by directly comparing file contents
Co-Authored-By: [email protected] <[email protected]>
1 parent 8619305 commit a0f2d7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/sftp-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ jobs:
132132
133133
# Verify the files match
134134
echo "Verifying file integrity..."
135-
md5sum /tmp/sftp_test_dir/test_received.dat > /tmp/received.md5
136-
if cmp -s /tmp/test.md5 /tmp/received.md5; then
135+
if cmp -s /tmp/test.dat /tmp/sftp_test_dir/test_received.dat; then
137136
echo "SFTP Test PASSED: Files match"
138137
else
139138
echo "SFTP Test FAILED: Files do not match"

0 commit comments

Comments
 (0)