Home
last modified time | relevance | path

Searched refs:testFile (Results 1 – 7 of 7) sorted by relevance

/openbmc/google-misc/subprojects/dhcp-done/test/
H A Dfileio_test.cpp15 std::string testFile = "./tmp_test_file"; in TEST() local
25 fileWrite(testFile, testStatus); in TEST()
27 EXPECT_TRUE(testStatus == fileRead(testFile)); in TEST()
29 fileWrite(testFile, testStatusUpdated); in TEST()
31 EXPECT_TRUE(testStatusUpdated == fileRead(testFile)); in TEST()
33 remove(testFile.c_str()); in TEST()
/openbmc/estoraged/src/test/erase/
H A Dzero_test.cpp30 std::ofstream testFile; in TEST() local
32 testFile.open(testFileName, in TEST()
34 testFile.close(); in TEST()
51 std::ofstream testFile; in TEST() local
55 testFile.close(); in TEST()
72 std::ofstream testFile; in TEST() local
79 testFile.close(); in TEST()
98 std::ofstream testFile; in TEST() local
102 testFile.close(); in TEST()
113 testFile << dummyValue; in TEST()
[all …]
H A Dpattern_test.cpp33 std::ofstream testFile; in TEST() local
34 testFile.open(testFileName, in TEST()
36 testFile.close(); in TEST()
59 std::ofstream testFile; in TEST() local
60 testFile.open(testFileName, in TEST()
62 testFile.close(); in TEST()
78 std::ofstream testFile; in TEST() local
83 testFile.open(testFileName, std::ios::binary | std::ios::out); in TEST()
84 testFile.write((reinterpret_cast<const char*>(&dummyValue)), in TEST()
86 testFile.close(); in TEST()
H A Dcrypto_test.cpp34 std::ofstream testFile; member in estoraged_test::CryptoEraseTest
39 testFile.open(testFileName, in SetUp()
41 testFile.close(); in SetUp()
42 if (testFile.fail()) in SetUp()
46 testFile.close(); in SetUp()
/openbmc/estoraged/src/test/
H A Dutil_test.cpp24 std::ofstream testFile; in TEST() local
27 testFile << "0x07 0x04"; in TEST()
28 testFile.close(); in TEST()
37 std::ofstream testFile; in TEST() local
40 testFile << "0x04 0x04"; in TEST()
41 testFile.close(); in TEST()
51 std::ofstream testFile; in TEST() local
54 testFile.close(); in TEST()
72 std::ofstream testFile; in TEST() local
76 testFile.close(); in TEST()
[all …]
H A Destoraged_test.cpp51 std::ofstream testFile; member in estoraged_test::EStoragedTest
69 testFile.open(testFileName, in SetUp()
71 testFile.close(); in SetUp()
72 if (testFile.fail()) in SetUp()
231 testFile.open(testFileName, in TEST_F()
233 testFile.close(); in TEST_F()
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Doverlayfs.py400 testFile = "/etc/my-test-data"
416 status, output = qemu.run_serial("touch " + testFile)
418 status, output = qemu.run_serial("ls -1 " + testFile)
419 line = getline_qemu(output, testFile)
420 self.assertTrue(line and line.startswith(testFile), msg=output)
424 status, output = qemu.run_serial("ls -1 " + testFile)
425 line = getline_qemu(output, testFile)
426 self.assertTrue(line and line.startswith(testFile), msg=output)
443 testFile = "lower-layer-test.txt"
458 status, output = qemu.run_serial("echo \"Modified in upper\" > /etc/" + testFile)
[all …]