aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-03-14 16:06:46 +0100
committerFredrik Gustafsson <[email protected]>2013-03-14 16:06:46 +0100
commitc4011d1760f0a24f225a7ae55b1326689e00d227 (patch)
tree67123799d3f1043646757e54838a441049ccf74f /lib/common_test
parent51bd468142e4c9974c7e778769b7930895010d44 (diff)
parentffc803c783575ca4e03cba54d8a2aeb3dd2c0736 (diff)
downloadotp-c4011d1760f0a24f225a7ae55b1326689e00d227.tar.gz
otp-c4011d1760f0a24f225a7ae55b1326689e00d227.tar.bz2
otp-c4011d1760f0a24f225a7ae55b1326689e00d227.zip
Merge branch 'fredrik/ct/get_testdir_restrictions' into maint
* fredrik/ct/get_testdir_restrictions: Returning '/' when given as parameter to get_testdir
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/src/ct_util.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_util.erl b/lib/common_test/src/ct_util.erl
index 2e7e731595..02e58d0786 100644
--- a/lib/common_test/src/ct_util.erl
+++ b/lib/common_test/src/ct_util.erl
@@ -940,7 +940,9 @@ ct_make_ref_loop(N) ->
From ! {self(),N},
ct_make_ref_loop(N+1)
end.
-
+
+abs_name("/") ->
+ "/";
abs_name(Dir0) ->
Abs = filename:absname(Dir0),
Dir = case lists:reverse(Abs) of