Skip to content

Commit

Permalink
Fix failed linux tests
Browse files Browse the repository at this point in the history
fixes #161 build errors
  • Loading branch information
milenovic committed Jan 26, 2025
1 parent 91f7cf2 commit 116882a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/bandage_command_line_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function test_image_height {
image=$1
height=$2

size=`convert $image -print "Size: %wx%h\n" /dev/null`
size=`magick $image -print "Size: %wx%h\n" /dev/null`

if [[ $size == *"x$height"* ]]; then
passes=$((passes + 1))
Expand All @@ -90,7 +90,7 @@ function test_image_width {
image=$1
width=$2

size=`convert $image -print "Size: %wx%h\n" /dev/null`
size=`magick $image -print "Size: %wx%h\n" /dev/null`

if [[ $size == *"$width""x"* ]]; then
passes=$((passes + 1))
Expand All @@ -110,7 +110,7 @@ function test_image_width_and_height {
width=$2
height=$3

size=`convert $image -print "Size: %wx%h\n" /dev/null`
size=`magick $image -print "Size: %wx%h\n" /dev/null`
expected_size="Size: $width""x""$height"

if [ "$size" == "$expected_size" ]; then
Expand Down

0 comments on commit 116882a

Please sign in to comment.