diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-11-26 14:20:07 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-11-26 14:20:07 +0200 |
commit | 30bca83897730ca9f68d86127a983990966c34ef (patch) | |
tree | ae48b71d7821317270c44a7594c3d50f4a95b118 /src/gtest | |
parent | e49bb38f542262f0bd3ec34ff8cdda1da8a32531 (diff) |
gtests: resolve collision in same filename for different users
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'src/gtest')
-rw-r--r-- | src/gtest/client_cfg_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |