diff options
Diffstat (limited to 'tests/db-util-gtest.cpp')
-rw-r--r-- | tests/db-util-gtest.cpp | 2 |
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) |