diff options
author | Björn Gustavsson <[email protected]> | 2013-02-14 11:34:36 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-02-14 16:04:57 +0100 |
commit | d9b269936c18f613a95e7d28d1c3ad9729a84690 (patch) | |
tree | 72eb1a2a949517f5970257b827c64c65af527502 | |
parent | 451487645cb865dd56e15cfc9cb70e507a12c292 (diff) | |
download | otp-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.
-rw-r--r-- | lib/asn1/test/asn1_SUITE.erl | 2 |
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), |