diff options
author | 2016-11-26 14:20:07 +0200 | |
---|---|---|
committer | 2016-11-26 14:20:07 +0200 | |
commit | 30bca83897730ca9f68d86127a983990966c34ef (patch) | |
tree | ae48b71d7821317270c44a7594c3d50f4a95b118 | |
parent | e49bb38f542262f0bd3ec34ff8cdda1da8a32531 (diff) |
gtests: resolve collision in same filename for different users
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/gtest/client_cfg_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -96,7 +96,7 @@ src/GTAGS *.bak *.pyc __pycache__ -*_GENERATED.py +*_GENERATED.* # Packages # ############ diff --git a/src/gtest/client_cfg_test.cpp b/src/gtest/client_cfg_test.cpp index 1e84e1d5..4e93f3c5 100644 --- a/src/gtest/client_cfg_test.cpp +++ b/src/gtest/client_cfg_test.cpp @@ -60,7 +60,7 @@ TEST_F(basic_client_cfg, test1) { CGlobalInfo::m_options.m_expected_portd = 4; printf("Expected ports %d\n", CGlobalInfo::m_options.m_expected_portd); - std::string tmp_file_name = "/tmp/client_cfg_gtest.yaml"; + std::string tmp_file_name = "client_cfg_gtest_GENERATED.yaml"; FILE *fd = fopen(tmp_file_name.c_str(), "w"); if (fd == NULL) { |