From c60cde2b022c74f4fc72764cbe4f870ece257b5c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 11 Feb 2019 00:31:41 +0000 Subject: Add missing flush in async test case --- netfs/unittests/testCore.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3