diff options
author | Fredrik Gustafsson <[email protected]> | 2013-03-13 10:04:47 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-03-13 10:04:47 +0100 |
commit | ffc803c783575ca4e03cba54d8a2aeb3dd2c0736 (patch) | |
tree | 25b7d30703b3250e687f355862cc065ba18bfd6d /lib/common_test/src | |
parent | 4955bf98ead49b0c7122ab30e462f9b817bd5c6e (diff) | |
download | otp-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')
-rw-r--r-- | lib/common_test/src/ct_util.erl | 4 |
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 |