aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-14 11:34:36 +0100
committerBjörn Gustavsson <[email protected]>2013-02-14 16:04:57 +0100
commitd9b269936c18f613a95e7d28d1c3ad9729a84690 (patch)
tree72eb1a2a949517f5970257b827c64c65af527502 /lib/asn1/test
parent451487645cb865dd56e15cfc9cb70e507a12c292 (diff)
downloadotp-d9b269936c18f613a95e7d28d1c3ad9729a84690.tar.gz
otp-d9b269936c18f613a95e7d28d1c3ad9729a84690.tar.bz2
otp-d9b269936c18f613a95e7d28d1c3ad9729a84690.zip
asn1_SUITE: Shorten the path to case-specific directory
On Windows, there is a limit to the number of characters in a filename. Therefore, we don't want unnecessarily use any longer path than necessary for case-specific directory. Since all test cases that put anything into priv_dir is asn1_SUITE, it is not necessary to include "asn1_SUITE" as part of the case-specific directory.
Diffstat (limited to 'lib/asn1/test')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index 3c73d6d5d0..8479566027 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -212,7 +212,7 @@ end_per_group(_GroupName, Config) ->
Config.
init_per_testcase(Func, Config) ->
- CaseDir = filename:join([?config(priv_dir, Config), ?MODULE, Func]),
+ CaseDir = filename:join(?config(priv_dir, Config), Func),
ok = filelib:ensure_dir(filename:join([CaseDir, dummy_file])),
true = code:add_patha(CaseDir),