Opened 2 years ago

Closed 18 months ago

#12424 closed Bug report (fixed)

libfilezilla 0.27.1 - fails tring_test::test_conversion2 test (ppc64, Big Endian)

Reported by: ernsteiswuerfel Owned by:
Priority: normal Component: libfilezilla
Keywords: Cc:
Component version: 0.36.0 Operating system type: Linux
Operating system version: Gentoo Linux 2.7

Description (last modified by ernsteiswuerfel)

This is downstream Gentoo bug 760944 (https://bugs.gentoo.org/760944).

string_test::test_conversion2 fails at least since libfilezilla 0.25.0 so I thought it would be a good idea to take this issue upstream.

===============================================

libfilezilla 0.27.1: tests/test-suite.log

===============================================

# TOTAL: 2
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test
==========

...................F.............

!!!FAILURES!!!
Test Results:
Run: 32 Failures: 1 Errors: 0

1) test: string_test::test_conversion2 (F) line: 66 string.cpp
assertion failed

  • Expression: s.size() >= w.size()

FAIL test (exit status: 1)

===============================================

libfilezilla 0.36.0: tests/test-suite.log

===============================================

# TOTAL: 2
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test
==========

........................F..............

!!!FAILURES!!!
Test Results:
Run: 38 Failures: 1 Errors: 0

1) test: string_test::test_conversion2 (F) line: 66 string.cpp
assertion failed

  • Expression: s.size() >= w.size()

FAIL test (exit status: 1)

Attachments (1)

test-suite.log (521 bytes ) - added by ernsteiswuerfel 18 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 by ernsteiswuerfel, 18 months ago

Component version: 0.27.10.36.0
Description: modified (diff)

by ernsteiswuerfel, 18 months ago

Attachment: test-suite.log added

comment:2 by Tim Kosse, 18 months ago

Which locale are you running the tests under? The locale, or more specifically its character set, must be able to handle the letter "ö" for the test to succeed.

Suitable locales:

  • any UTF-8 locale, e.g. C.UTF-8, en_US.utf8
  • any locale using one of ISO 8859-1/2/3/4/9/10/13/14/15/16, e.g. de_DE

comment:3 by Tim Kosse, 18 months ago

Status: newmoreinfo

comment:4 by ernsteiswuerfel, 18 months ago

Resolution: fixed
Status: moreinfoclosed

You were correct!

I was on locale "C" before. With "de_DE.UTF-8" the test passes.

Note: See TracTickets for help on using tickets.