diff options
-rw-r--r-- | netfs/unittests/testCore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netfs/unittests/testCore.cpp b/netfs/unittests/testCore.cpp index de790a1..ff5a352 100644 --- a/netfs/unittests/testCore.cpp +++ b/netfs/unittests/testCore.cpp @@ -272,6 +272,7 @@ BOOST_AUTO_TEST_CASE( access ) BOOST_REQUIRE_EQUAL(fuse->access("/dir", R_OK), 0); BOOST_REQUIRE_EQUAL(fuse->access("/dir", W_OK), 0); BOOST_REQUIRE_EQUAL(fuse->access("/dir", X_OK), 0); + BOOST_REQUIRE_EQUAL(fuse->chmod("/missing", 0000), -ENOENT); BOOST_REQUIRE_EQUAL(fuse->chmod("/dir", 0000), 0); BOOST_REQUIRE_EQUAL(fuse->getattr("/dir", &st), 0); BOOST_REQUIRE_EQUAL(st.st_mode, 0000 | S_IFDIR); |