From 598d84afb84fd442a75bac1cfddb048a4412fbcc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 6 Sep 2015 20:37:53 +0100 Subject: Fix unused return value warning in test --- netfs/unittests/testGlacier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netfs/unittests/testGlacier.cpp b/netfs/unittests/testGlacier.cpp index 90daaef..15d7e5e 100644 --- a/netfs/unittests/testGlacier.cpp +++ b/netfs/unittests/testGlacier.cpp @@ -21,7 +21,7 @@ BOOST_AUTO_TEST_CASE ( withRouter ) sleep(1); BOOST_SCOPE_EXIT(void) { - system("kill $(cat /tmp/glacier.pid)"); + BOOST_REQUIRE_EQUAL(0, system("kill $(cat /tmp/glacier.pid)")); } BOOST_SCOPE_EXIT_END; { -- cgit v1.2.3