summaryrefslogtreecommitdiff
path: root/system/m4/m4-1.4.19-test-198.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-02-06 17:58:07 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:50 -0500
commit572cfb17fe334feda1b2463fbb228fb61ee58263 (patch)
treedc24d8ab2806b2236803537714f82e98d4c9dc29 /system/m4/m4-1.4.19-test-198.patch
parent2996ebf8ce3b28c6a83dd9900cd83efc7909a68e (diff)
downloadpackages-572cfb17fe334feda1b2463fbb228fb61ee58263.tar.gz
packages-572cfb17fe334feda1b2463fbb228fb61ee58263.tar.bz2
packages-572cfb17fe334feda1b2463fbb228fb61ee58263.tar.xz
packages-572cfb17fe334feda1b2463fbb228fb61ee58263.zip
system/m4: Update to 1.4.19
Diffstat (limited to 'system/m4/m4-1.4.19-test-198.patch')
-rw-r--r--system/m4/m4-1.4.19-test-198.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/system/m4/m4-1.4.19-test-198.patch b/system/m4/m4-1.4.19-test-198.patch
new file mode 100644
index 000000000..3ca4bd478
--- /dev/null
+++ b/system/m4/m4-1.4.19-test-198.patch
@@ -0,0 +1,31 @@
+From cd7f4d153ccccf601751e9fa82424412f6ecfc96 Mon Sep 17 00:00:00 2001
+From: Eric Blake <eblake@redhat.com>
+Date: Tue, 1 Jun 2021 08:10:51 -0500
+Subject: [PATCH] tests: Fix 198.sysval
+
+In my attempt to avoid test failures on Haiku, I caused test failures
+on platforms where sh is noisy when reporting a killed sub-process.
+
+* doc/m4.texi (Sysval): Avoid stderr noise during test.
+Fixes: 17011ea76a (tests: Skip signal detection on Haiku)
+Fixes: https://lists.gnu.org/archive/html/bug-m4/2021-05/msg00029.html
+---
+ doc/m4.texi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/m4.texi b/doc/m4.texi
+index 247f2be5..3b833b2a 100644
+--- a/doc/m4.texi
++++ b/doc/m4.texi
+@@ -6756,6 +6756,7 @@ ifdef(`__unix__', ,
+ ')m4exit(`77')')dnl
+ changequote(`[', `]')
+ @result{}
+-syscmd([/bin/sh -c 'kill -9 $$'; st=$?; test $st = 137 || test $st = 265])
++syscmd([@{ /bin/sh -c 'kill -9 $$'; @} 2>/dev/null; st=$?;
++test $st = 137 || test $st = 265])
+ @result{}
+ ifelse(sysval, [0], , [errprint([ skipping: shell does not send signal 9
+--
+2.17.1
+