summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-12-15 17:29:13 +0000
committerPádraig Brady <P@draigBrady.com>2015-12-15 17:44:45 +0000
commit070cec3234aeba6e5456b71ce25a34687b0dd6fc (patch)
tree48a6d80069805131154ea4c152f689c045e84730 /cfg.mk
parentd3ddf7bce45ac73c9d5180bed5ad2f10192b28f3 (diff)
downloadcoreutils-070cec3234aeba6e5456b71ce25a34687b0dd6fc.tar.xz
maint: include 'env' commands in returns_ syntax check
* cfg.mk (sc_prohibit_and_fail_1): Remove 'env' from the exclusion list. * tests/misc/env.sh: Adjust accordingly. * tests/misc/help-version.sh: Likewise.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index 70808fd59..656035bf5 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -484,7 +484,7 @@ sc_prohibit_fail_0:
# independently check its contents and thus detect any crash messages.
sc_prohibit_and_fail_1:
@prohibit='&& fail=1' \
- exclude='(stat|kill|test |EGREP|grep|env|compare|2> *[^/])' \
+ exclude='(stat|kill|test |EGREP|grep|compare|2> *[^/])' \
halt='&& fail=1 detected. Please use: returns_ 1 ... || fail=1' \
in_vc_files='^tests/' \
$(_sc_search_regexp)