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 b56b3d5..06ab752 100644
--- a/netfs/unittests/testCore.cpp
+++ b/netfs/unittests/testCore.cpp
@@ -252,6 +252,7 @@ BOOST_AUTO_TEST_CASE( files )
BOOST_REQUIRE_EQUAL(fuse->open("/test", &fi), 0);
BOOST_REQUIRE_EQUAL(fuse->write("/test", "some test buffer", 16, 0, &fi), 16);
+ BOOST_REQUIRE_EQUAL(fuse->flush("/test", &fi), 0);
BOOST_REQUIRE_EQUAL(fuse->getattr("/test", &st), 0);
BOOST_REQUIRE_EQUAL(st.st_size, 16);
BOOST_REQUIRE_EQUAL(fuse->getattr("/test2", &st), -ENOENT);