image_filter.t case failed: tengine feature image_filter_crop_offset

apeeds0o  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(35)

Ⅰ. Issue Description

With macro #(T_NGX_HTTP_IMAGE_FILTER) in image_filter module, the compiled nginx binary failed to run image_filter.t

Ⅳ. How to reproduce it (as minimally and precisely as possible)

When we disable source included in this macro, this case will pass.

TEST_NGINX_LEAVE=yes \
TEST_NGINX_UNSAFE=yes \
TEST_NGINX_BINARY=$nginx_binary \
prove -v -I $nginx_tests_lib_path $proxy_connect_test_cases

ok 36 - rotate after resize                                                 
not ok 37 - resize rotate nested                                                                                                                        
#   Failed test 'resize rotate nested'                                      
#   at tests/nginx-tests/nginx-tests/image_filter.t line 254.               
#          got: '12 10'                                                     
#     expected: '10 12'

ENV prepared for this case

sudo cpanm --notest GD 

sudo apt install -y libgd-dev
km0tfn4u

km0tfn4u1#

this pr #380 broke default value of conf->angle , then made the case failed.

相关问题