From de9b45e0f300ca58d977e4579e98026d0dfb7899 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Fri, 18 Aug 2017 14:36:45 +0200 Subject: [PATCH] provisioning: Use .tmp suffix for test file We can use .tmp suffix for generated files to be ignored in git repo Bug: https://jira.iotivity.org/browse/IOT-2599 Change-Id: I70d109e590784777a0ce2a87fa7451676bad20e8 Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/21999 Tested-by: jenkins-iotivity Reviewed-by: Mats Wichmann Reviewed-by: Dan Mihai Reviewed-by: Randeep Singh (cherry picked from commit a8abd0026c9fc8c8e6679202168f79c6206eff72) --- resource/provisioning/unittests/OCProvisioningTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/provisioning/unittests/OCProvisioningTest.cpp b/resource/provisioning/unittests/OCProvisioningTest.cpp index 760ad37..b000d1d 100644 --- a/resource/provisioning/unittests/OCProvisioningTest.cpp +++ b/resource/provisioning/unittests/OCProvisioningTest.cpp @@ -49,7 +49,7 @@ namespace OCProvisioningTest TEST(ProvisionInitTest, TestValidPath) { - std::string dbPath("./dbPath"); + std::string dbPath("./dbPath.tmp"); EXPECT_EQ(OC_STACK_OK, OCSecure::provisionInit(dbPath)); EXPECT_EQ(OC_STACK_OK, OCSecure::provisionClose()); } -- 2.7.4