diff --git a/tests/lib/vfs/path_recode.c b/tests/lib/vfs/path_recode.c index d7461329d..c7d7b180e 100644 --- a/tests/lib/vfs/path_recode.c +++ b/tests/lib/vfs/path_recode.c @@ -99,14 +99,14 @@ static const struct test_path_recode_ds { { /* 0. */ "UTF-8", - "/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ", - "/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ", - "/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ" + "/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8", + "/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8", + "/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8" }, { /* 1. */ "UTF-8", "/#enc:KOI8-R/тСстовый/ΠΏΡƒΡ‚ΡŒ", - "/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ", + "/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8", "/#enc:KOI8-R/тСстовый/ΠΏΡƒΡ‚ΡŒ" }, { /* 2. */ @@ -117,9 +117,9 @@ static const struct test_path_recode_ds }, { /* 3. */ "KOI8-R", - "/#enc:UTF-8/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ", + "/#enc:UTF-8/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8", "/тСстовый/ΠΏΡƒΡ‚ΡŒ", - "/#enc:UTF-8/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ" + "/#enc:UTF-8/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8" }, { /* 4. Test encode info at start */ "UTF-8", @@ -190,13 +190,13 @@ static const struct test_path_to_str_flags_ds "/test1://user:passwd@host.name/#enc:KOI8-R/тСстовый/ΠΏΡƒΡ‚ΡŒ", VPF_NONE, VPF_RECODE, - "/test1://user:passwd@host.name/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ" + "/test1://user:passwd@host.name/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8" }, { /* 3. */ "/test1://user:passwd@host.name/#enc:KOI8-R/тСстовый/ΠΏΡƒΡ‚ΡŒ", VPF_NONE, VPF_RECODE | VPF_STRIP_PASSWORD, - "/test1://user@host.name/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ" + "/test1://user@host.name/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8" }, { /* 4. */ "/mock/home/test/dir", @@ -220,13 +220,13 @@ static const struct test_path_to_str_flags_ds "/mock/home/test1://user:passwd@host.name/#enc:KOI8-R/тСстовый/ΠΏΡƒΡ‚ΡŒ", VPF_NONE, VPF_STRIP_HOME | VPF_RECODE, - "~/test1://user:passwd@host.name/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ" + "~/test1://user:passwd@host.name/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8" }, { /* 8. */ "/mock/home/test1://user:passwd@host.name/#enc:KOI8-R/тСстовый/ΠΏΡƒΡ‚ΡŒ", VPF_NONE, VPF_STRIP_HOME | VPF_RECODE | VPF_STRIP_PASSWORD, - "~/test1://user@host.name/ΤΕΣΤΟΧΩΚ/ΠΥΤΨ" + "~/test1://user@host.name/\xD4\xC5\xD3\xD4\xCF\xD7\xD9\xCA/\xD0\xD5\xD4\xD8" }, }; /* *INDENT-ON* */