summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-01-31 16:08:43 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-01-31 16:13:19 +0000
commitcf3a4ca4d5fbef63bc30ece08d4f3153a7b97620 (patch)
treeaa7f1f6525447e639ddefe9fea3d250c602e5cb5
parentFix and test symlink attribute size (diff)
downloadmythfs-cf3a4ca4d5fbef63bc30ece08d4f3153a7b97620.tar.bz2
mythfs-cf3a4ca4d5fbef63bc30ece08d4f3153a7b97620.tar.xz
mythfs-cf3a4ca4d5fbef63bc30ece08d4f3153a7b97620.zip
Coverage of statfs, no assertsmythfs-0.1
-rw-r--r--mythfs/unittests/testMain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/mythfs/unittests/testMain.cpp b/mythfs/unittests/testMain.cpp
index 5641cec..6ddafe0 100644
--- a/mythfs/unittests/testMain.cpp
+++ b/mythfs/unittests/testMain.cpp
@@ -130,5 +130,11 @@ BOOST_AUTO_TEST_CASE( listByTitleInsidious )
BOOST_REQUIRE_EQUAL("/var/store/mythrecordings/1303_20151202205900.mpg", l);
}
+BOOST_AUTO_TEST_CASE( statfs )
+{
+ rv->statfs(re, "/");
+ // This just proxies a call to a real FS... can't really assert much here, just that it succeeds
+}
+
BOOST_AUTO_TEST_SUITE_END();