Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"printf_hooks" test failure in strongswan 5.9.13 version #2256

Closed
BadganchiP1234 opened this issue May 20, 2024 · 2 comments
Closed

"printf_hooks" test failure in strongswan 5.9.13 version #2256

BadganchiP1234 opened this issue May 20, 2024 · 2 comments

Comments

@BadganchiP1234
Copy link

Running suite 'utils':
Running case 'objects': +
Running case 'return functions': +
Running case 'timeval_add_ms': +
Running case 'timespan_from_string': +++++++++++++++++
Running case 'htoun,untoh': ++
Running case 'round': +
Running case 'string helper': ++++++++++++++++++++++++++++
Running case 'malloc_align': +
Running case 'memxor': ++
Running case 'memeq': ++++++++++++++++++++++++++
Running case 'memstr': ++++++++++++
Running case 'memwipe': +++
Running case 'utils_memrchr': ++++++++++++
Running case 'translate': ++++++++++++
Running case 'strreplace': +++++++++++++++++++++++++++++++++++++++
Running case 'path_first/last_separator': ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Running case 'path_dirname': ++++++++++++++++++++
Running case 'path_basename': ++++++++++++++++++++
Running case 'path_absolute': ++++++++++++++++++++
Running case 'printf_hooks': ++-+-+++++++++++++++++
Failure in 'test_time_printf_hook': buf != time_data[_i].out ("Jan 01 00:00:01 1970" != "Jan 01 01:00:01 1970") (../../../../strongswan-5.9.13/src/libstrongswan/tests/suites/test_utils.c:967, i = 2)
Failure in 'test_time_printf_hook': buf != time_data[_i].out ("Jul 01 13:43:16 2012" != "Jul 01 15:43:16 2012") (../../../../strongswan-5.9.13/src/libstrongswan/tests/suites/test_utils.c:967, i = 4)

Could you please help here what could be the issue?

@BadganchiP1234 BadganchiP1234 changed the title "printf_hooks" test failure in strongswan 5.9.6 version "printf_hooks" test failure in strongswan 5.9.13 version May 20, 2024
@tobiasbrunner
Copy link
Member

You might be missing tzdata (the test changes the timezone via TZ to Europe/Zurich, which only works if the timezone data is available).

@BadganchiP1234
Copy link
Author

Yes i already added yesterday and checked, it's working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants