From: Pádraig Brady
Date: Thu, 14 May 2026 13:45:20 +0000 (+0100) Subject: maint: sc_prohibit_test_empty: add avoidance comment X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=2c706d03826953945bdf3bdef043a1462a6785a1;p=thirdparty%2Fcoreutils.git maint: sc_prohibit_test_empty: add avoidance comment * cfg.mk: Describe how to avoid the syntax check in the case of possibly large / binary input. --- diff --git a/cfg.mk b/cfg.mk index 8c10b3b03d..d5e8f9025d 100644 --- a/cfg.mk +++ b/cfg.mk @@ -667,6 +667,7 @@ sc_prohibit_test_backticks: # Ensure that compare is used to check empty files # so that the unexpected contents are displayed +# Use `returns_ 1 test -s ... || fail=1` to avoid this check. sc_prohibit_test_empty: @prohibit='test -s.*&&' in_vc_files='^tests/' \ halt='use `compare /dev/null ...`, not `test -s ...` in tests/' \