summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netfs/unittests/testCore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/netfs/unittests/testCore.cpp b/netfs/unittests/testCore.cpp
index 0976512..de790a1 100644
--- a/netfs/unittests/testCore.cpp
+++ b/netfs/unittests/testCore.cpp
@@ -196,6 +196,7 @@ BOOST_AUTO_TEST_CASE( files )
memset(&st, 0, sizeof(st));
memset(&st2, 0, sizeof(st2));
fi.flags = O_RDWR;
+ BOOST_REQUIRE_EQUAL(fuse->open("/test", &fi), -ENOENT);
BOOST_REQUIRE_EQUAL(fuse->create("/test", 0600, &fi), 0);
BOOST_REQUIRE_EQUAL(fuse->release("/test", &fi), 0);
BOOST_REQUIRE_EQUAL(fuse->release("/test", &fi), -EBADF);