GNOME Bugzilla – Bug 762962
test-suite failure in test-import-export and test-import-export-glib
Last modified: 2016-03-11 18:14:16 UTC
Version: 1.1.91 After upgrading from 1.1.90 to 1.1.90, the test-suite fails: FAIL: test-import-export ======================== /ovpn/properties/test_password_import: OK /ovpn/properties/test_password_export: OK /ovpn/properties/test_tls_import: OK /ovpn/properties/test_tls_inline_import: OK /ovpn/properties/test_tls_export: OK /ovpn/properties/test_pkcs12_import: OK /ovpn/properties/test_pkcs12_export: OK /ovpn/properties/test_non_utf8_import: ** ERROR:test-import-export.c:86:_check_item: assertion failed (nm_setting_vpn_get_data_item (s_vpn, item) == expected): ("/home/michael/debian/build-area/network-manager-openvpn-1.1.91/properties/tests/conf/Att\344taenko.pem" == "/home/michael/debian/build-area/network-manager-openvpn-1.1.91/properties/tests/conf/Att\303\244taenko.pem") FAIL test-import-export (exit status: 134) FAIL: test-import-export-glib ============================= /ovpn/properties/test_password_import: OK /ovpn/properties/test_password_export: OK /ovpn/properties/test_tls_import: OK /ovpn/properties/test_tls_inline_import: OK /ovpn/properties/test_tls_export: OK /ovpn/properties/test_pkcs12_import: OK /ovpn/properties/test_pkcs12_export: OK /ovpn/properties/test_non_utf8_import: ** ERROR:test-import-export.c:86:_check_item: assertion failed (nm_setting_vpn_get_data_item (s_vpn, item) == expected): ("/home/michael/debian/build-area/network-manager-openvpn-1.1.91/properties/tests/conf/Att\344taenko.pem" == "/home/michael/debian/build-area/network-manager-openvpn-1.1.91/properties/tests/conf/Att\303\244taenko.pem") FAIL test-import-export-glib (exit status: 134)
Hm, doesn't fail for me. What is your language setting when the test fails? LANG, LANGUAGE, LC*?
let's not handle encodings during import: https://mail.gnome.org/archives/networkmanager-list/2016-March/msg00011.html
(In reply to Thomas Haller from comment #1) > Hm, doesn't fail for me. That's odd. > What is your language setting when the test fails? LANG, LANGUAGE, LC*? I tried different locales. My default de_DE.UTF-8 $ locale LANG=de_DE.UTF-8 LANGUAGE= LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= But also with "export LANG=C" and "export LANG=C.UTF-8"
I anyway would like to change handling of non-UTF8-encodings, which will fix this too. Depending on bug 763039...
as bug 763039 is closed by merging branch [1], I think this issue can no longer happen. Closing. [1] https://git.gnome.org/browse/network-manager-openvpn/commit/?id=a5aa60041018cff200a8aded7afd437e5ec21a79