utest: imported bo could be different with the same key and fd 34/173434/2
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 21 Mar 2018 08:53:16 +0000 (17:53 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 22 Mar 2018 02:26:35 +0000 (02:26 +0000)
Change-Id: I901f7d87d35b3940d291d2de155b500974813390

utests/ut_tbm_bo.cpp

index 41a5352..889e6ef 100644 (file)
@@ -483,8 +483,6 @@ TEST_P(TBMBo, BoImportTwice)
        bo3 = tbm_bo_import(bufmgr, bo_key);
        ASSERT_TRUE(bo3 != NULL);
 
-       ASSERT_EQ(bo2, bo3);
-
        tbm_bo_unref(bo3);
        tbm_bo_unref(bo2);
        tbm_bo_unref(bo1);
@@ -563,8 +561,6 @@ TEST_P(TBMBo, BoImportFdTwice)
        bo3 = tbm_bo_import_fd(bufmgr, bo_fd);
        ASSERT_TRUE(bo3 != NULL);
 
-       ASSERT_EQ(bo2, bo3);
-
        tbm_bo_unref(bo3);
        tbm_bo_unref(bo2);
        tbm_bo_unref(bo1);