[Bug 1203241] New: zsh tests fail with GNU grep 3.8
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241 Bug ID: 1203241 Summary: zsh tests fail with GNU grep 3.8 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: werner@suse.com Reporter: Andreas.Stieger@gmx.de QA Contact: qa-bugs@suse.de Blocks: 1203092 Found By: --- Blocker: --- GNU grep from 3.8 emitting warnings when invoking egrep/fgrep https://build.opensuse.org/request/show/1001674
egrep and fgrep commands, deprecated since 2007, now warn that they are obsolescent and should be replaced by grep -E / -F
From https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:N... [ 129s] ./E01options.ztst: starting. [ 130s] --- /tmp/zsh.ztst.761/ztst.err 2022-09-08 02:59:55.368000000 +0000 [ 130s] +++ /tmp/zsh.ztst.761/ztst.terr 2022-09-08 02:59:55.388000000 +0000 [ 130s] @@ -0,0 +1,5 @@ [ 130s] +egrep: warning: egrep is obsolescent; using grep -E [ 130s] +egrep: warning: egrep is obsolescent; using grep -E [ 130s] +egrep: warning: egrep is obsolescent; using grep -E [ 130s] +egrep: warning: egrep is obsolescent; using grep -E [ 130s] +egrep: warning: egrep is obsolescent; using grep -E [ 130s] Test ./E01options.ztst failed: error output differs from expected as shown above for: [ 130s] showopt() { setopt | egrep 'localoptions|ksharrays'; } [ 130s] f1() { setopt localoptions ksharrays; showopt } [ 130s] f2() { setopt ksharrays; showopt } [ 130s] setopt kshoptionprint [ 130s] showopt [ 130s] f1 [ 130s] showopt [ 130s] f2 [ 130s] showopt [ 130s] unsetopt ksh_arrays [ 130s] Was testing: LOCAL_OPTIONS option [ 130s] ./E01options.ztst: test failed. stderr output breaks tests. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241#c1
Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241#c2
--- Comment #2 from Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241#c3
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241#c4
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241#c6
--- Comment #6 from Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241
http://bugzilla.opensuse.org/show_bug.cgi?id=1203241#c8
--- Comment #8 from Andreas Stieger
participants (1)
-
bugzilla_noreply@suse.com