From cf3a4ca4d5fbef63bc30ece08d4f3153a7b97620 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 31 Jan 2016 16:08:43 +0000 Subject: Coverage of statfs, no asserts --- mythfs/unittests/testMain.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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(); -- cgit v1.2.3