Page MenuHomePhabricator

test torture_config (Failed)
Closed, ResolvedPublic

Description

I am trying to compile v0.8.7 on Alpine Linux edge and as part of the build process I am run the tests unfortunately 7 - torture_config fails:

 7/25 Test  #7: torture_config ...................***Failed    0.00 sec
[==========] Running 7 test(s).
[ RUN      ] torture_config_from_file
[       OK ] torture_config_from_file
[ RUN      ] torture_config_double_ports
[       OK ] torture_config_double_ports
[ RUN      ] torture_config_glob
[  ERROR   ] --- ret == 0
[   LINE   ] --- /home/tbk/Projects/aports/main/libssh/src/libssh-0.8.7/tests/unittests/torture_config.c:222: error: Failure!
[  FAILED  ] torture_config_glob
[ RUN      ] torture_config_new
[       OK ] torture_config_new
[ RUN      ] torture_config_auth_methods
[       OK ] torture_config_auth_methods
[ RUN      ] torture_config_unknown
[       OK ] torture_config_unknown
[ RUN      ] torture_config_match
[       OK ] torture_config_match
[==========] 7 test(s) run.
[  PASSED  ] 6 test(s).
[  FAILED  ] 1 test(s), listed below:
[  FAILED  ] torture_config_glob

 1 FAILED TEST(S)

      Start  8: torture_options
 8/25 Test  #8: torture_options ..................   Passed    0.00 sec

Full buildlog:

Event Timeline

TBK created this task.May 27 2019, 12:08 AM
asn added a subscriber: asn.Thu, Jun 13, 4:36 PM

My guess would be that the test requires HAVE_GLOB_GL_FLAGS_MEMBER but musl libc doesn't support it.

asn closed this task as Resolved.Fri, Jun 14, 12:02 PM
asn claimed this task.

Should be fixed by 1f43b52117fc97eef95e3627517cadb531b2b43e

Thanks for the bug report!