aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-06-30 12:21:54 +0200
committerHans Nilsson <[email protected]>2016-06-30 12:21:54 +0200
commit7c91a9c8d4a05ab254b89a6b1d700ff794017579 (patch)
tree7e2d541ccb89b0a1859b1fc9c9ee6cd930f72cd0 /lib/tools/test
parentc2157dc06a8c997c207dd82cd6fa11dbcb508f11 (diff)
parent0573efbc18fc20f8646cf3ff64d2affd06e03cb8 (diff)
downloadotp-7c91a9c8d4a05ab254b89a6b1d700ff794017579.tar.gz
otp-7c91a9c8d4a05ab254b89a6b1d700ff794017579.tar.bz2
otp-7c91a9c8d4a05ab254b89a6b1d700ff794017579.zip
Merge branch 'maint-19' into maint
Diffstat (limited to 'lib/tools/test')
-rw-r--r--lib/tools/test/xref_SUITE.erl17
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/tools/test/xref_SUITE.erl b/lib/tools/test/xref_SUITE.erl
index ce30fb711a..01dbac6ecb 100644
--- a/lib/tools/test/xref_SUITE.erl
+++ b/lib/tools/test/xref_SUITE.erl
@@ -50,7 +50,7 @@
-export([analyze/1, basic/1, md/1, q/1, variables/1, unused_locals/1]).
--export([format_error/1, otp_7423/1, otp_7831/1, otp_10192/1]).
+-export([format_error/1, otp_7423/1, otp_7831/1, otp_10192/1, otp_13708/1]).
-import(lists, [append/2, flatten/1, keysearch/3, member/2, sort/1, usort/1]).
@@ -82,7 +82,7 @@ groups() ->
fun_mfa_r14, fun_mfa_vars, qlc]},
{analyses, [],
[analyze, basic, md, q, variables, unused_locals]},
- {misc, [], [format_error, otp_7423, otp_7831, otp_10192]}].
+ {misc, [], [format_error, otp_7423, otp_7831, otp_10192, otp_13708]}].
init_per_suite(Conf) when is_list(Conf) ->
@@ -2393,6 +2393,19 @@ otp_10192(Conf) when is_list(Conf) ->
xref:stop(s),
ok.
+%% OTP-10192. Allow filenames with character codes greater than 126.
+otp_13708(Conf) when is_list(Conf) ->
+ {ok, _} = start(s),
+ ok = xref:set_default(s, [{verbose, true}]),
+ {ok, []} = xref:q(s,"E"),
+ xref:stop(s),
+
+ CopyDir = ?copydir,
+ Dir = fname(CopyDir,"lib_test"),
+ {ok, _} = start(s),
+ ok = xref:set_library_path(s, [Dir], [{verbose, true}]),
+ xref:stop(s).
+
%%%
%%% Utilities
%%%