Lines Matching refs:tempPWHistoryConfigFile
261 tempPWHistoryConfigFile = "/tmp/test-data-XXXXXX"; in UserMgrInTest()
262 mktemp(tempPWHistoryConfigFile.data()); in UserMgrInTest()
264 dumpStringToFile(rawPWHistoryConfig, tempPWHistoryConfigFile)); in UserMgrInTest()
271 pwHistoryConfigFile = tempPWHistoryConfigFile; in UserMgrInTest()
332 EXPECT_NO_THROW(removeFile(tempPWHistoryConfigFile)); in ~UserMgrInTest()
366 std::string tempPWHistoryConfigFile; member in phosphor::user::UserMgrInTest
383 getPamModuleConfValue(tempPWHistoryConfigFile, "remember", remember), in TEST_F()
402 EXPECT_EQ(setPamModuleConfValue(tempPWHistoryConfigFile, "remember", "1"), in TEST_F()
406 getPamModuleConfValue(tempPWHistoryConfigFile, "remember", remember), in TEST_F()
424 EXPECT_EQ(setPamModuleConfValue(tempPWHistoryConfigFile, "remember", "1"), in TEST_F()
427 tmpFile = tempPWHistoryConfigFile + "_tmp"; in TEST_F()
449 EXPECT_NO_THROW(dumpStringToFile("whatever", tempPWHistoryConfigFile)); in TEST_F()
452 getPamModuleConfValue(tempPWHistoryConfigFile, "remember", remember), in TEST_F()
455 EXPECT_NO_THROW(removeFile(tempPWHistoryConfigFile)); in TEST_F()
457 getPamModuleConfValue(tempPWHistoryConfigFile, "remember", remember), in TEST_F()
477 EXPECT_NO_THROW(dumpStringToFile("whatever", tempPWHistoryConfigFile)); in TEST_F()
478 EXPECT_EQ(setPamModuleConfValue(tempPWHistoryConfigFile, "remember", "1"), in TEST_F()
481 EXPECT_NO_THROW(removeFile(tempPWHistoryConfigFile)); in TEST_F()
482 EXPECT_EQ(setPamModuleConfValue(tempPWHistoryConfigFile, "remember", "1"), in TEST_F()
512 EXPECT_NO_THROW(dumpStringToFile("whatever", tempPWHistoryConfigFile)); in TEST_F()
513 EXPECT_EQ(setPamModuleConfValue(tempPWHistoryConfigFile, "remember", "1"), in TEST_F()
516 tmpFile = tempPWHistoryConfigFile + "_tmp"; in TEST_F()
519 EXPECT_NO_THROW(removeFile(tempPWHistoryConfigFile)); in TEST_F()
520 EXPECT_EQ(setPamModuleConfValue(tempPWHistoryConfigFile, "remember", "1"), in TEST_F()
825 EXPECT_NO_THROW(dumpStringToFile("whatever", tempPWHistoryConfigFile)); in TEST_F()