Skip to content
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions test/gmtest.in
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ fi
# Any script override of GRAPHICSMAGICK_RMS? Must be a comment line of the format
# GRAPHICSMAGICK_RMS = <custom-limit>
GRAPHICSMAGICK_RMS=$(grep "GRAPHICSMAGICK_RMS" "$script" | awk '{print $4}')
if ! [ -x "${script}" ]; then
echo "error: cannot execute script ${script}." >&2
if ! [ -r "${script}" ]; then
echo "error: cannot read script ${script}." >&2
exit 1
fi

Expand Down
Loading