provisioning: Use .tmp suffix for test file 99/21999/3
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 18 Aug 2017 12:36:45 +0000 (14:36 +0200)
committerRandeep Singh <randeep.s@samsung.com>
Thu, 24 Aug 2017 05:14:19 +0000 (05:14 +0000)
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 <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21999
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/provisioning/unittests/OCProvisioningTest.cpp

index b16bd20..196d9d6 100644 (file)
@@ -48,7 +48,7 @@ namespace OCProvisioningTest
 
     TEST(ProvisionInitTest, TestValidPath)
     {
-        std::string dbPath("./dbPath");
+        std::string dbPath("./dbPath.tmp");
         EXPECT_EQ(OC_STACK_OK, OCSecure::provisionInit(dbPath));
     }