Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/bow/
DBowTest.cpp438 #define MOUNT_POINT "/data/local/tmp/mount" macro
442 EXPECT_EQ(system("mkdir " MOUNT_POINT), 0); in SetupFileSystem()
444 system((std::string("mount ") + loop_device + " " MOUNT_POINT).c_str()), in SetupFileSystem()
446 EXPECT_EQ(system("echo Original > " MOUNT_POINT "/file"), 0); in SetupFileSystem()
447 EXPECT_EQ(system("umount -D " MOUNT_POINT), 0); in SetupFileSystem()
448 EXPECT_EQ(system("rmdir " MOUNT_POINT), 0); in SetupFileSystem()
452 unique_fd fd(open(MOUNT_POINT, O_RDONLY)); in Trim()
464 EXPECT_EQ(system("mkdir " MOUNT_POINT), 0); in TEST_F()
466 system((std::string("mount ") + bow_device_ + " " MOUNT_POINT).c_str()), in TEST_F()
470 EXPECT_EQ(system("echo Changed > " MOUNT_POINT "/file"), 0); in TEST_F()
[all …]