aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-11-30 12:31:33 +0100
committerPatrik Nyblom <[email protected]>2010-11-30 16:38:22 +0100
commitb21d33041ef30182cbb8e74c0023dc282d069a26 (patch)
tree429cd1c57ed2c39503e69c964846a366ec8e350f /erts/test
parentc9d45aa9f32a76a4b08edd1d6010764d9ab02f9b (diff)
downloadotp-b21d33041ef30182cbb8e74c0023dc282d069a26.tar.gz
otp-b21d33041ef30182cbb8e74c0023dc282d069a26.tar.bz2
otp-b21d33041ef30182cbb8e74c0023dc282d069a26.zip
Teach filelib to use re in unicode mode when filenames are not raw
Diffstat (limited to 'erts/test')
-rw-r--r--erts/test/z_SUITE.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/test/z_SUITE.erl b/erts/test/z_SUITE.erl
index 8faddeb0d3..9f13a7083d 100644
--- a/erts/test/z_SUITE.erl
+++ b/erts/test/z_SUITE.erl
@@ -253,6 +253,8 @@ core_file_search(#core_search_conf{search_dir = Base,
core_cand(Conf, Core, Cores);
"core." ++ _ ->
core_cand(Conf, Core, Cores);
+ Bin when is_binary(Bin) -> %Icky filename; ignore
+ Cores;
BName ->
case lists:suffix(".core", BName) of
true -> core_cand(Conf, Core, Cores);