Skip to content

Commit

Permalink
be more verbose if chk-size fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Nov 1, 2022
1 parent 6266ad1 commit 74c9a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/tests/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ chk-size() {
size=$(du -sm $path | awk '{print $1}')

if [ $size -lt $minsize ]; then
error "$path is too small: $size MB"
error "$path is too small: $size MB. Should be greater $minsize MB"
else
echo "OK: $path size is $size MB"
fi
Expand Down

0 comments on commit 74c9a1f

Please sign in to comment.