Bug 1277142 - dovecot: auth_request_get_var_expand test fails on big endian
Summary: dovecot: auth_request_get_var_expand test fails on big endian
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dovecot
Version: rawhide
Hardware: ppc64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: ZedoraTracker PPCTracker
TreeView+ depends on / blocked
 
Reported: 2015-11-02 13:36 UTC by Rafael Fonseca
Modified: 2015-12-08 15:28 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2015-12-08 15:28:00 UTC


Attachments (Terms of Use)

Description Rafael Fonseca 2015-11-02 13:36:00 UTC
Description of problem: the test fails with the following error message:

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),
test_output) == 0
auth request var expand short and long ............................... :
FAILED
test: random seed #1 was 1446803094
auth request var expand flags ........................................ : ok
test-auth-request-var-expand.c:158: Assert failed: strcmp(str_c(str),
test_output) == 0
auth request var expand long-only .................................... :
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


Version-Release number of selected component (if applicable): 2.2.19-1


How reproducible: ppc-koji build dovecot


Additional info: The problem also happens on f22 and f23 (ppc and s390). It was reported upstream [1].

[1] http://dovecot.org/pipermail/dovecot/2015-November/102435.html

Comment 1 Rafael Fonseca 2015-11-27 13:12:24 UTC
Patch submitted by the devs [1]. I tested on a big endian machine, and all tests pass now.


[1] http://hg.dovecot.org/dovecot-2.2/diff/cf956e34dc11/src/auth/test-auth-request-var-expand.c


Note You need to log in before you can comment on or make changes to this bug.