Bug 1241023
| Summary: | case in a for loop inside subshell causes syntax error | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Martin Kyral <mkyral> |
| Component: | zsh | Assignee: | Kamil Dudka <kdudka> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Kepler <jkejda> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | hannsj_uhl, isenfeld, jkejda, msvistun, ovasik, qe-baseos-apps |
| Target Milestone: | rc | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | zsh-5.0.2-13.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, zsh did not correctly parse command substitutions. As a consequence, zsh in some cases reported syntax errors for syntactically valid shell scripts. With this update, the parser has been fixed to parse shell scripts correctly.
|
Story Points: | --- |
| Clone Of: | 1212775 | Environment: | |
| Last Closed: | 2015-11-19 05:20:40 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
Martin Kyral
2015-07-08 10:15:59 UTC
upstream commit: http://sourceforge.net/p/zsh/code/ci/c0d01a6f The upstream fix causes a serious regression: http://www.zsh.org/mla/workers/2015/msg01855.html http://www.zsh.org/mla/workers/2015/msg01856.html As of yet, there is no upstream fix available. Unless we get one, we will have to revert the patch for this bug and defer the solution to a future update of RHEL-7. @QE: Could you please include the above test-cases in our test plans? (In reply to Kamil Dudka from comment #6) > The upstream fix causes a serious regression: > > http://www.zsh.org/mla/workers/2015/msg01855.html > http://www.zsh.org/mla/workers/2015/msg01856.html Now fixed by upstream commits: http://sourceforge.net/p/zsh/code/ci/2ef4b384 http://sourceforge.net/p/zsh/code/ci/c0a80171 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2208.html |