diff options
author | Fredrik Gustafsson <[email protected]> | 2013-03-14 16:06:46 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-03-14 16:06:46 +0100 |
commit | c4011d1760f0a24f225a7ae55b1326689e00d227 (patch) | |
tree | 67123799d3f1043646757e54838a441049ccf74f | |
parent | 51bd468142e4c9974c7e778769b7930895010d44 (diff) | |
parent | ffc803c783575ca4e03cba54d8a2aeb3dd2c0736 (diff) | |
download | otp-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
-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 |