Displaying 4 results from an estimated 4 matches for "033x".
Did you mean:
033
2018 Aug 17
4
Call for testing: OpenSSH 7.8
...edu> 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
--
Darren Tucker (dtucker at dtucker.net...
2018 Aug 20
2
Call for testing: OpenSSH 7.8
...............
>>> 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.
> Actually, it is *supposed* to fail unless the locale is either
> UTF-8 or the POSIX (ASCII) locale, because '\033' is not a
> printable cha...
2018 Aug 18
2
Call for testing: OpenSSH 7.8
...........
>>> 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.
>
> Actually, it is *supposed* to fail unless the locale is either
> UTF-8 or the POSIX (ASCII) locale, because '\033' is not a
> printab...
2018 Aug 20
2
Call for testing: OpenSSH 7.8
...ts/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.
>>> Actually, it is *supposed* to fail unless the locale is either
>>> UTF-8 or the POSIX (ASCII) locale, because '\033' is...