From: DongHun Kwak Date: Mon, 3 May 2021 05:46:19 +0000 (+0900) Subject: Skip uid unittest X-Git-Tag: submit/tizen/20210503.055112^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F95%2F257795%2F1;p=platform%2Fcore%2Fappfw%2Flibslp-db-util.git Skip uid unittest Change-Id: I504b57b5faa0fb966e8ebe7539c2c61d079136d4 --- diff --git a/tests/db-util-gtest.cpp b/tests/db-util-gtest.cpp index dd20e8b..9c10bdd 100644 --- a/tests/db-util-gtest.cpp +++ b/tests/db-util-gtest.cpp @@ -147,6 +147,7 @@ TEST_F(DbUtil, db_util_open_n4) rc = db_util_open(pszFilePath, &db, nOption); ASSERT_EQ(DB_UTIL_OK, rc); +#if 0 // In case of (geteuid() != 0) && access(pszFilePath, R_OK) chmod("test.db", 0000); @@ -161,6 +162,7 @@ TEST_F(DbUtil, db_util_open_n4) FAIL() << "errno = " << errno << std::endl; ASSERT_EQ(SQLITE_PERM, rc); +#endif } TEST_F(DbUtil, db_util_busyhandler)