guix/gnu/packages/patches/zsh-egrep-failing-test.patch
Josselin Poiret cebcf3533a
gnu: zsh: Patch failing test that uses egrep.
* gnu/packages/patches/zsh-egrep-failing-test.patch: New file.
* gnu/packages/shells.scm (zsh): Patch it.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-31 14:22:19 +02:00

12 lines
397 B
Diff

--- a/Test/E01options.ztst 2023-03-30 21:34:12.372309112 +0200
+++ b/Test/E01options.ztst 2023-03-30 21:34:33.212335339 +0200
@@ -649,7 +649,7 @@
>noktarg1
>0 1
- showopt() { setopt | egrep 'localoptions|ksharrays'; }
+ showopt() { setopt | grep -E 'localoptions|ksharrays'; }
f1() { setopt localoptions ksharrays; showopt }
f2() { setopt ksharrays; showopt }
setopt kshoptionprint