aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-05-10 13:03:47 +0200
committerHans Nilsson <[email protected]>2016-05-10 13:03:47 +0200
commit9105cb1cef1de09c2a43a1ac8c166d8ab8be41fe (patch)
treede57226f49fece47753cbc6ebeb18feabe0de985 /lib/ssh
parent2d19c1c0102781c570b80a900fe161c99997b95c (diff)
downloadotp-9105cb1cef1de09c2a43a1ac8c166d8ab8be41fe.tar.gz
otp-9105cb1cef1de09c2a43a1ac8c166d8ab8be41fe.tar.bz2
otp-9105cb1cef1de09c2a43a1ac8c166d8ab8be41fe.zip
ssh: New test for utf8 in ssh_sftp_SUITE
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/test/ssh_sftp_SUITE.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_sftp_SUITE.erl b/lib/ssh/test/ssh_sftp_SUITE.erl
index f6d7be41d6..26df346c7f 100644
--- a/lib/ssh/test/ssh_sftp_SUITE.erl
+++ b/lib/ssh/test/ssh_sftp_SUITE.erl
@@ -106,8 +106,10 @@ init_per_group(not_unicode, Config) ->
| Config];
init_per_group(unicode, Config) ->
- case file:native_name_encoding() of
- utf8 ->
+ case (file:native_name_encoding() == utf8)
+ andalso ("四" == [22235])
+ of
+ true ->
ct:comment("Begin ~p",[grps(Config)]),
DataDir = ?config(data_dir, Config),
PrivDir = ?config(priv_dir, Config),