Subject: [PATCH] [BZ 141695] chiucvallow: correct verification return code From: Hendrik Brueckner Description: chiucvallow: correct verification return code Symptom: When running test_chiucvallow.sh, the script is failing to validate filter files with special characters. because the chiucvallow.in -V is Problem: The chiucvallow -V is returning code 2 and for this reason, the script gives an error message, but the filter file is validated successfully manually. Solution: Correct the return code of chiucvallow to handle verification failures correctly. Reproduction: See Symptom. Upstream-ID: - Problem-ID: 141695 Signed-off-by: Hendrik Brueckner --- iucvterm/bin/chiucvallow.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/iucvterm/bin/chiucvallow.in +++ b/iucvterm/bin/chiucvallow.in @@ -115,7 +115,8 @@ verify_filter(){ printf "\n$PRG: Verification summary: verified=%d failed=%d size=%d bytes\n" \ $count $failed $fsize - return 2 + + test $failed -eq 0 || return 2 } #