Lines Matching refs:old_path
2740 std::string old_path = td.path + "/old"s; in TEST() local
2744 ASSERT_EQ(0, close(creat(old_path.c_str(), 0666))); in TEST()
2746 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2750 ASSERT_EQ(0, rename(old_path.c_str(), new_path.c_str())); in TEST()
2751 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2758 std::string old_path = td.path + "/old"s; in TEST() local
2762 ASSERT_EQ(0, close(creat(old_path.c_str(), 0666))); in TEST()
2764 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2769 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2779 std::string old_path = td.path + "/old"s; in TEST()
2783 ASSERT_EQ(0, close(creat(old_path.c_str(), 0666))); in TEST()
2785 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2790 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2794 ASSERT_EQ(0, close(creat(old_path.c_str(), 0666))); in TEST()