Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Check file-size of test-data in tests #40

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Catch failure of 'stat -f %s properly.
  • Loading branch information
shinji-s committed Aug 12, 2020
commit 50c9c4a570a5fb03074a1215393c57695c510cca
2 changes: 1 addition & 1 deletion tests/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ grib_check_filesize()
set +e
realsize=`stat -c %s $fullpath`
if [ $? != 0 ]; then
realsize=`stat -f %z $fullpath`
set -e
realsize=`stat -f %z $fullpath`
else
set -e
fi
Expand Down