diff options
author | Peter Andersson <[email protected]> | 2015-11-06 14:43:32 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2015-11-06 14:43:32 +0100 |
commit | 27659d4f0b917a4540dee46af2e0702cfcf56c63 (patch) | |
tree | 0448adf92a989419e64c986065f833c423bb7140 /lib/test_server/src/test_server_ctrl.erl | |
parent | 309c4b503df1a586e57f6558b6de08245fa80d47 (diff) | |
download | otp-27659d4f0b917a4540dee46af2e0702cfcf56c63.tar.gz otp-27659d4f0b917a4540dee46af2e0702cfcf56c63.tar.bz2 otp-27659d4f0b917a4540dee46af2e0702cfcf56c63.zip |
Make sure priv_dir names don't cause name clashes
Diffstat (limited to 'lib/test_server/src/test_server_ctrl.erl')
-rw-r--r-- | lib/test_server/src/test_server_ctrl.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test_server/src/test_server_ctrl.erl b/lib/test_server/src/test_server_ctrl.erl index 0be6e0b4e4..8a46996bc3 100644 --- a/lib/test_server/src/test_server_ctrl.erl +++ b/lib/test_server/src/test_server_ctrl.erl @@ -3711,8 +3711,8 @@ run_test_case1(Ref, Num, Mod, Func, Args, RunInit, RunDir = filename:dirname(MinorName), Ext = if Num == 0 -> - Nr = erlang:unique_integer([positive]), - lists:flatten(io_lib:format(".~w", [Nr])); + Int = erlang:unique_integer([positive,monotonic]), + lists:flatten(io_lib:format(".cfg.~w", [Int])); true -> lists:flatten(io_lib:format(".~w", [Num])) end, |