diff options
author | Dan Gudmundsson <[email protected]> | 2014-01-22 10:10:44 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2014-01-22 10:10:44 +0100 |
commit | d203887853971d58a4054400a88f91bbf73b19c8 (patch) | |
tree | 7b442151bd7b6f37119096913d90f72437db0510 /lib/test_server/src/ts_lib.erl | |
parent | 1f7e86af8b3f489253c06b2043440c11168a4654 (diff) | |
parent | c0d320e028ce4a4b6af99ad5e20dee8ea95d6fce (diff) | |
download | otp-d203887853971d58a4054400a88f91bbf73b19c8.tar.gz otp-d203887853971d58a4054400a88f91bbf73b19c8.tar.bz2 otp-d203887853971d58a4054400a88f91bbf73b19c8.zip |
Merge branch 'dgud/test_unicode/OTP-10877'
* dgud/test_unicode/OTP-10877:
sasl test: Quote executable paths (can contain spaces)
rt_tools: Handle unicode chars in printouts
kernel: code_SUITE fix unicode option
Fix (unicode) debug info in test cases
stdlib: Fix format if module resides in a unicode directory
Fix testing with unicode paths
test_server: Fix ts write unicode in config files
Diffstat (limited to 'lib/test_server/src/ts_lib.erl')
-rw-r--r-- | lib/test_server/src/ts_lib.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_server/src/ts_lib.erl b/lib/test_server/src/ts_lib.erl index 9f56f59fed..5368960446 100644 --- a/lib/test_server/src/ts_lib.erl +++ b/lib/test_server/src/ts_lib.erl @@ -164,7 +164,7 @@ subst_file(In, Out, Vars) -> case file:read_file(In) of {ok, Bin} -> Subst = subst(b2s(Bin), Vars, []), - case file:write_file(Out, Subst) of + case file:write_file(Out, unicode:characters_to_binary(Subst)) of ok -> ok; {error, Reason} -> |