From: Tobias Geerinckx-Rice Date: Mon, 23 Nov 2020 05:36:53 +0100 Subject: [PATCH] gnu: lsof: Make test failures fatal. Submitted upstream[0]. [0]: https://github.com/lsof-org/lsof/pull/144 diff --git a/tests/Makefile b/tests/Makefile index 08574a0..2923bb8 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -27,7 +27,7 @@ all: ${CKTSTDB} ${BASTST} ${STDTST} FRC exit 1 ;\ fi @rm -f config.LT* - -@err=0; \ + @err=0; \ echo ""; \ echo "Basic test:"; \ ./${BASTST}; \ @@ -54,8 +54,11 @@ all: ${CKTSTDB} ${BASTST} ${STDTST} FRC echo "Suggestion: try the optional tests: \"make opt\""; \ echo ""; \ fi; \ - fi; - @rm -f config.LT* + fi; \ + rm -f config.LT*; \ + if [ $$err -ne 0 ]; then \ + exit 1; \ + fi auto: ckDB silent FRC @@ -112,7 +115,7 @@ LTunix: LTunix.c ${CONFIG} ${LIBOBJ} ${HDR} config.ldflags opt: ${CKTSTDB} ${OPTTST} FRC @rm -f config.LT* - -@err=0; \ + @err=0; \ echo ""; \ echo "Optional tests:"; \ for i in ${OPTTST}; do \ @@ -126,8 +129,11 @@ opt: ${CKTSTDB} ${OPTTST} FRC else \ echo "All optional tests succeeded."; \ fi; \ - echo ""; - @rm -f config.LT* + echo ""; \ + rm -f config.LT*; \ + if [ $$err -ne 0 ]; then \ + exit 1; \ + fi optional: opt 721e9f5b8c678634a96f1f675e02996c8'>treecommitdiff
path: root/tests/publish.scm
AgeCommit message (Expand)Author
2022-04-29publish: Send uncached narinfo replies from the main thread....Ludovic Courtès
2022-02-14publish: Do not sign the URL/Compression/FileSize narinfo fields....Ludovic Courtès
2022-01-19tests: Adjust to gzip as the default log compression....Ludovic Courtès
2021-05-16publish: Add '--negative-ttl'....Ludovic Courtès
2021-03-31tests: Make 'publish' test umask-insensitive....Cees de Groot
2021-01-13publish: Add support for zstd compression....Ludovic Courtès
2020-11-08publish: Create files in the cache as #o644....Ludovic Courtès
2020-11-04publish: Do not path the empty string to 'query-path-info'....Ludovic Courtès
2020-10-28publish: Add '--cache-bypass-threshold'....Ludovic Courtès
2020-10-27publish: Provide server's signing key....Amar Singh
2020-08-24Use "guile-zlib" and "guile-lzlib" instead of (guix config)....Mathieu Othacehe
2020-01-16publish: Export 'signed-string'....Ludovic Courtès
2019-11-23tests: Use (ice-9 threads)....Ludovic Courtès