summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-02-15 20:11:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-02-15 20:11:53 +0000
commitf22acbffe2c0753dd6f2b84ca396fd2fdd14f86b (patch)
tree7f7c9b7bc409f3ac3f8426b142d56be3f8f6179b
parentEnforce O_EXCL on create (diff)
downloadnetfs-f22acbffe2c0753dd6f2b84ca396fd2fdd14f86b.tar.bz2
netfs-f22acbffe2c0753dd6f2b84ca396fd2fdd14f86b.tar.xz
netfs-f22acbffe2c0753dd6f2b84ca396fd2fdd14f86b.zip
Test statfs on missing file
-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 e933027..083cbab 100644
--- a/netfs/unittests/testCore.cpp
+++ b/netfs/unittests/testCore.cpp
@@ -64,6 +64,7 @@ BOOST_AUTO_TEST_CASE ( clientInitialised )
{
struct statvfs s;
BOOST_REQUIRE_EQUAL(0, fuse->statfs("/", &s));
+ BOOST_REQUIRE_EQUAL(-ENOENT, fuse->statfs("/missing", &s));
}
BOOST_AUTO_TEST_CASE( testNavigation )