Skip to content

Commit

Permalink
Fix diff
Browse files Browse the repository at this point in the history
  • Loading branch information
dhinakg committed Jun 23, 2024
1 parent e8b75f9 commit dff9eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_get_key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ for i in tests/*; do
python3 get_key.py "tests/$i/encrypted.aea" > "tmp/$i/actual.txt" || abort "Failed to get key"
# Ensure the key is correct
aea decrypt -i "tests/$i/encrypted.aea" -o "tmp/decrypted" -key-value "base64:$(cat tmp/"$i"/actual.txt)" || abort "Failed to decrypt with actual key"
if diff -q "tmp/$i/actual.txt" "tests/$i/expected.txt"; then
if ! diff "tmp/$i/actual.txt" "tests/$i/expected.txt"; then
echo "Warning: key does not match expected key, but decryption was successful"
fi
echo "Test $i passed"
Expand Down

0 comments on commit dff9eef

Please sign in to comment.