[packages/m4] - try to fix test-read-file on builders

qboosh qboosh at pld-linux.org
Sat Jun 12 22:10:09 CEST 2021


commit 733abe377eda57272d93f346368e45448366a15a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 12 22:12:52 2021 +0200

    - try to fix test-read-file on builders

 m4.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/m4.spec b/m4.spec
index 018ca7a..fb5590a 100644
--- a/m4.spec
+++ b/m4.spec
@@ -82,6 +82,9 @@ Statyczna biblioteka m4.
 %{__rm} checks/198.sysval
 touch checks/stamp-checks
 
+# PLD builders stub resolv.conf file, use another one for tests
+%{__sed} -i -e 's,/etc/resolv\.conf,/etc/nsswitch.conf,' tests/test-read-file.c
+
 %build
 %configure \
 	PACKAGE=m4 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/m4.git/commitdiff/733abe377eda57272d93f346368e45448366a15a



More information about the pld-cvs-commit mailing list