> On 17 August 2018 at 10:16, Darren Tucker <dtucker at dtucker.net> wrote: >> On 13 August 2018 at 15:06, Val Baranov <val.baranov@xxxxxxxx> wrote: >> [...] >> test_utf8: ........................ >> regress/unittests/utf8/tests.c:48 test #25 "c_esc" >> ASSERT_INT_EQ(len, wantlen) failed: >> len = -1 >> wantlen = 5 > This boils down to meaning OpenSSH's smnprintf call failed for the string "\033x" instead of returning the expected escaped version "\\033x". > The code is in utf8.c but I am not sure why it failed. > What's your locale set to? > > You can run the rest of the tests on your platform by running: > > TEST_SSH_UTF8=no make testst The locale is: LANG=en_US LC_COLLATE="en_US" LC_CTYPE="en_US" LC_MONETARY="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_MESSAGES="en_US" LC_ALL= "TEST_SSH_UTF8=no make tests " command produced the same error. ./nl_langinfo setlocale -> "C" nl_langinfo -> "ISO8859-1" _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev