Index: lib/libarchive/tests/functional_test.sh =================================================================== --- lib/libarchive/tests/functional_test.sh +++ lib/libarchive/tests/functional_test.sh @@ -32,8 +32,14 @@ check() { local testcase=${1}; shift - - atf_check -o ignore -s exit:0 ${TESTER} -d -r "${SRCDIR}" -v "${testcase}" + local stderrflag="empty" + if [ "${testcase}" = test_read_append_filter_wrong_program ]; then + # test_read_append_filter_wrong_program test produces output + # since https://github.com/libarchive/libarchive/pull/1382. + stderrflag="inline:bunzip2: (stdin) is not a bzip2 file.\n" + fi + atf_check -o ignore -e "${stderrflag}" -s exit:0 ${TESTER} -d \ + -r "${SRCDIR}" -v "${testcase}" } atf_init_test_cases()