From d132b3fbc0ccd89ebb6741e4dd6609b807cbdee3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 26 Aug 2010 11:41:05 +0200 Subject: s3-build: Don't paste the summary. The buildfarm outputs the summary if it is available and use the exit status of the filter or subunit formatter as exit code. --- selftest/s3-selftest.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/selftest/s3-selftest.sh b/selftest/s3-selftest.sh index 8b44629bc3..2087b51af6 100755 --- a/selftest/s3-selftest.sh +++ b/selftest/s3-selftest.sh @@ -25,9 +25,9 @@ if [ "x${RUN_FROM_BUILD_FARM}" = "xyes" ]; then --socket-wrapper ${TESTS} \ && touch ${SELFTESTPREFIX}/st_done ) | \ ${FILTER_XFAIL} --strip-passed-output + EXIT_STATUS=$? st_test_done - test -f ${SELFTESTPREFIX}/summary && cat ${SELFTESTPREFIX}/summary else ( rm -f ${SELFTESTPREFIX}/st_done && \ ${PERL} ${SELFTESTDIR}/selftest.pl \ @@ -37,8 +37,9 @@ else --socket-wrapper ${TESTS} \ && touch ${SELFTESTPREFIX}/st_done ) | \ ${SUBUNIT_FORMATTER} + EXIT_STATUS=$? st_test_done fi -cleanup_and_exit +cleanup_and_exit ${EXIT_STATUS} -- cgit