search for: auth_request_get_var_expand

Displaying 3 results from an estimated 3 matches for "auth_request_get_var_expand".

2015 Nov 27
0
auth_request_get_var_expand test fails on big endian arches.
On 02 Nov 2015, at 15:28, Rafael dos Santos <rdossant at redhat.com> wrote: > > Hi, > > when running the tests in a big endian machine, I get the following error: > > 0 / 1 tests failed > test-auth-request-var-expand.c:99: Assert failed: strcmp(str_c(str), > test_output) == 0 > test-auth-request-var-expand.c:104: Assert failed: strcmp(str_c(str), >
2015 Nov 27
1
auth_request_get_var_expand test fails on big endian arches.
Hi, On 27 November 2015 at 13:42, Timo Sirainen <tss at iki.fi> wrote: > On 02 Nov 2015, at 15:28, Rafael dos Santos <rdossant at redhat.com> wrote: > > > > Hi, > > > > when running the tests in a big endian machine, I get the following > error: > > > > 0 / 1 tests failed > > test-auth-request-var-expand.c:99: Assert failed:
2015 Nov 02
2
auth_request_get_var_expand test fails on big endian arches.
............................... : FAILED auth request var expand usernames .................................... : ok auth request var expand funcs ........................................ : ok 2 / 5 tests failed Makefile:1257: recipe for target 'check-test' failed Looking into it I found that auth_request_get_var_expand_table ends up calling the net_ip2addr function. This function, in turn, uses ntohl to convert from network byte order to host byte order. In big endian machines, that means that the string output will be ------------- big endian --------------- +user at +domain1@+domain2 +user +domain1 at +domain2...