diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx index 5473c2dbbb67..d166dae36384 100644 --- a/test/source/bootstrapfixture.cxx +++ b/test/source/bootstrapfixture.cxx @@ -164,7 +164,9 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor OUString aCommand = aValidator + rPath + " > " + aOutputFile; int returnValue = system(OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8).getStr()); - (void)returnValue; + CPPUNIT_ASSERT_EQUAL_MESSAGE( + OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8).getStr(), 0, + returnValue); OString aContentString = loadFile(aOutput.GetURL()); OUString aContentOUString = OStringToOUString(aContentString, RTL_TEXTENCODING_UTF8);