aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/test_server_node.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-08-25 16:50:07 +0200
committerSiri Hansen <[email protected]>2017-09-05 11:32:03 +0200
commit46e5b36b2a2fd70fef26ee0ad7e08a3c7c2fd7fd (patch)
tree87560a93e1f2d6539b7be7064de7d2ba557cc777 /lib/common_test/src/test_server_node.erl
parent4bf9c5a5cc52a0ce76fbec638deff0ff88a5dfd8 (diff)
downloadotp-46e5b36b2a2fd70fef26ee0ad7e08a3c7c2fd7fd.tar.gz
otp-46e5b36b2a2fd70fef26ee0ad7e08a3c7c2fd7fd.tar.bz2
otp-46e5b36b2a2fd70fef26ee0ad7e08a3c7c2fd7fd.zip
ct: use 'unicode' option for regexps
Diffstat (limited to 'lib/common_test/src/test_server_node.erl')
-rw-r--r--lib/common_test/src/test_server_node.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/test_server_node.erl b/lib/common_test/src/test_server_node.erl
index a18ff1fd62..c0d7e12721 100644
--- a/lib/common_test/src/test_server_node.erl
+++ b/lib/common_test/src/test_server_node.erl
@@ -692,7 +692,7 @@ find_rel_suse_2(Rel, RootWc) ->
case file:list_dir(RelDir) of
{ok,Dirs} ->
case lists:filter(fun(Dir) ->
- case re:run(Dir, Pat) of
+ case re:run(Dir, Pat, [unicode]) of
nomatch -> false;
_ -> true
end