diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-01-31 16:08:43 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-01-31 16:13:19 +0000 |
commit | 1032b612cc64976f549b046077094a068e968761 (patch) | |
tree | aa7f1f6525447e639ddefe9fea3d250c602e5cb5 | |
parent | Fix and test symlink attribute size (diff) | |
download | mythfs-1032b612cc64976f549b046077094a068e968761.tar.bz2 mythfs-1032b612cc64976f549b046077094a068e968761.tar.xz mythfs-1032b612cc64976f549b046077094a068e968761.zip |
Coverage of statfs, no asserts
-rw-r--r-- | mythfs/unittests/testMain.cpp | 6 |
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(); |