Skip to content

Commit

Permalink
fix comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
MalinAhlberg committed Nov 5, 2024
1 parent 9f0263c commit 73194a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/integration/tests/sda/20_ingest-verify_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ done

# check that the files have key hashes assigned
key_hashes="$(psql -U postgres -h postgres -d sda -At -c "select distinct key_hash from sda.files" | wc -l)"
if [ "$key_hashes" -lt 0 ]; then
if [ "$key_hashes" -eq 0 ]; then
echo "::error::Ingested files did not have any key hashes."
exit 1
fi
Expand Down

0 comments on commit 73194a3

Please sign in to comment.