1 From: Tobias Geerinckx-Rice <me@tobias.gr>
2 Date: Mon, 23 Nov 2020 05:36:53 +0100
3 Subject: [PATCH] gnu: lsof: Make test failures fatal.
7 [0]: https://github.com/lsof-org/lsof/pull/144
9 diff --git a/tests/Makefile b/tests/Makefile
10 index 08574a0..2923bb8 100644
13 @@ -27,7 +27,7 @@ all: ${CKTSTDB} ${BASTST} ${STDTST} FRC
22 @@ -54,8 +54,11 @@ all: ${CKTSTDB} ${BASTST} ${STDTST} FRC
23 echo "Suggestion: try the optional tests: \"make opt\""; \
30 + if [ $$err -ne 0 ]; then \
36 @@ -112,7 +115,7 @@ LTunix: LTunix.c ${CONFIG} ${LIBOBJ} ${HDR} config.ldflags
38 opt: ${CKTSTDB} ${OPTTST} FRC
43 echo "Optional tests:"; \
44 for i in ${OPTTST}; do \
45 @@ -126,8 +129,11 @@ opt: ${CKTSTDB} ${OPTTST} FRC
47 echo "All optional tests succeeded."; \
53 + if [ $$err -ne 0 ]; then \