File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ test_gray_image() {
6868 if [ ! -f " $filename " ]; then
6969 url=" https://github.com/haraldk/TwelveMonkeys/blob/master/\
7070imageio/imageio-jpeg/src/test/resources/jpeg/$filename ?raw=true"
71- if ! curl -LO " $url " ; then
71+ if ! curl -L " $url " -o " $filename " ; then
7272 echo " Cannot download the image $filename from $url "
7373 return
7474 fi
@@ -86,6 +86,14 @@ test_nonexistent() {
8686 ! $GPUJPEG -e nonexistent.pam fail.jpg
8787}
8888
89+ test_out_ext_XXX () {
90+ " $GPUJPEG " -q 99 -e -b -Na 1111x511.p_4444-u8-p0123.random.tst rgba.jpg
91+ " $GPUJPEG " -d -Na rgba.jpg test_out_ext_XXX.XXX
92+ magick_compare input-1111x511.p_4444-u8-p0123.random.pam \
93+ test_out_ext_XXX.pam
94+ rm input-1111x511.p_4444-u8-p0123.random.* rgba.jpg test_out_ext_XXX.*
95+ }
96+
8997# currently just a simple read/write tests without validating file contents
9098test_pam_pnm_y4m () {
9199 w=256
@@ -148,6 +156,7 @@ test_fix_decode_outside_pinned_AND_fix_huff_buf_partially_not_cleared
148156test_fix_postprocess_memcpy_pitch_20250305
149157test_gray_image
150158test_nonexistent
159+ test_out_ext_XXX
151160test_pam_pnm_y4m
152161test_random_psnr
153162
You can’t perform that action at this time.
0 commit comments