[exim-cvs] Testsuite: unbreak use of explicit stderr on BSDs…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Testsuite: unbreak use of explicit stderr on BSDs, redux
Gitweb: https://git.exim.org/exim.git/commitdiff/d53f24eeaea238ffbc80074b97cc7a1cabaf612d
Commit:     d53f24eeaea238ffbc80074b97cc7a1cabaf612d
Parent:     21deb068f8adbd0a3f8727a898a0bd94c558031b
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed Sep 6 09:55:30 2023 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Wed Sep 6 09:55:30 2023 +0100


    Testsuite: unbreak use of explicit stderr on BSDs, redux
---
 test/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/test/Makefile.in b/test/Makefile.in
index c0013ba42..90d6892f7 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -28,8 +28,9 @@ all:            binaries sysbinaries
 binaries:    $(BINARIES)


 sysbinaries:    FORCE binaries
+        rm -f bin.sys/*
         bin/locate initdb postgres pg_ctl psql mysqld mysql
-        test -e /dev/stderr || ln -s /proc/sys/fd/2 bin.sys/stderr && ln -s /dev/stderr bin.sys/stderr
+        if [ -e /dev/stderr ]; then  ln -s /dev/stderr bin.sys/stderr; else ln -s /proc/sys/fd/2 bin.sys/stderr; fi
         ls -la bin.sys


# Compile and link the programs:

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/