Bug 1921666

Summary: use return instead of continue to avoid shellcheck error on test
Product: Red Hat Enterprise Linux 8 Reporter: yeah_wang <1485652911>
Component: texinfoAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED WONTFIX QA Contact: CS System Management SST QE <rhel-cs-system-management-subsystem-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0   
Target Milestone: rc   
Target Release: 8.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-17 08:48:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description yeah_wang 2021-01-28 12:01:10 UTC
Description of problem:

The tp/tests/run_parser_all.sh file contains errors and needs to be modified after verification.

Version-Release number of selected component (if applicable):
 texinfo-6.5

How reproducible:
NA

Steps to Reproduce:

diff --git a/tp/tests/run_parser_all.sh b/tp/tests/run_parser_all.sh
index e475da5..e6242b3 100755
--- a/tp/tests/run_parser_all.sh
+++ b/tp/tests/run_parser_all.sh
@@ -46,7 +46,7 @@ check_latex2html_and_tex4ht ()
       if echo "$remaining" | grep '[-]init mediawiki.pm' >/dev/null; then
        if test "$no_html2wiki" = 'yes' ; then
          echo "S: (no html2wiki) $current"
-         continue 2
+         return 2
        fi
       fi
     fi

Actual results:
End Return Exit

Expected results:
End Return Exit

Additional info:

Comment 1 Vitezslav Crhonek 2021-01-28 13:54:17 UTC
Thank you for the bug report.

Comment 2 Vitezslav Crhonek 2021-02-17 08:48:34 UTC
I've fixed the issue in Fedora for future releases and reported upstream, where it's
going to be fixed soon too. It has no real impact on package usability and we don't
plan to fix it in RHEL 8.