summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-05-03 14:46:19 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-05-03 14:46:19 +0900
commitc55f6401c544540c802929833f0ea9e4391bd4c2 (patch)
treec25adfd3c6e34f6e464fe2e8e5341b5934bad001
parent168418e10ed8efad724a0a2efc0c70b993694870 (diff)
downloadlibslp-db-util-c55f6401c544540c802929833f0ea9e4391bd4c2.tar.gz
libslp-db-util-c55f6401c544540c802929833f0ea9e4391bd4c2.tar.bz2
libslp-db-util-c55f6401c544540c802929833f0ea9e4391bd4c2.zip
Change-Id: I504b57b5faa0fb966e8ebe7539c2c61d079136d4
-rw-r--r--tests/db-util-gtest.cpp2
1 files changed, 2 insertions, 0 deletions
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)