aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_util.erl
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-03-13 10:04:47 +0100
committerFredrik Gustafsson <[email protected]>2013-03-13 10:04:47 +0100
commitffc803c783575ca4e03cba54d8a2aeb3dd2c0736 (patch)
tree25b7d30703b3250e687f355862cc065ba18bfd6d /lib/common_test/src/ct_util.erl
parent4955bf98ead49b0c7122ab30e462f9b817bd5c6e (diff)
downloadotp-ffc803c783575ca4e03cba54d8a2aeb3dd2c0736.tar.gz
otp-ffc803c783575ca4e03cba54d8a2aeb3dd2c0736.tar.bz2
otp-ffc803c783575ca4e03cba54d8a2aeb3dd2c0736.zip
Returning '/' when given as parameter to get_testdir
Diffstat (limited to 'lib/common_test/src/ct_util.erl')
-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