Update mclinker to 96e60abf286338c8e231b7c990c30c7c4651be0e.
Change-Id: I29a840d11cecc1ed133768b79222f8bae5f4db2d
diff --git a/unittests/PathTest.cpp b/unittests/PathTest.cpp
index 2a44368..1a73de2 100644
--- a/unittests/PathTest.cpp
+++ b/unittests/PathTest.cpp
@@ -43,7 +43,8 @@
// Testcases
//
TEST_F( PathTest, should_exist ) {
- const std::string root = "/etc/hosts";
+ std::string root(TOPDIR);
+ root += "/test/lit.cfg";
m_pTestee->assign(root);
EXPECT_TRUE(exists(*m_pTestee));
@@ -63,7 +64,6 @@
}
TEST_F( PathTest, should_is_directory ) {
-// const std::string root = "/proj/mtk03931/temp/pndk-luba/../";
const std::string root = "../././..";
m_pTestee->assign(root);
EXPECT_TRUE(exists(*m_pTestee));
@@ -122,15 +122,15 @@
delete m_pTestee;
m_pTestee = new Path("aa/");
m_pTestee->append("/aaa");
- EXPECT_TRUE(m_pTestee->string()=="aa/aaa");
+ EXPECT_TRUE(m_pTestee->native()=="aa/aaa");
delete m_pTestee;
m_pTestee = new Path("aa");
m_pTestee->append("/aaa");
- EXPECT_TRUE(m_pTestee->string()=="aa/aaa");
+ EXPECT_TRUE(m_pTestee->native()=="aa/aaa");
delete m_pTestee;
m_pTestee = new Path("aa");
m_pTestee->append("aaa");
- EXPECT_TRUE(m_pTestee->string()=="aa/aaa");
+ EXPECT_TRUE(m_pTestee->native()=="aa/aaa");
}
TEST_F( PathTest, should_become_generic_string ) {