summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2018-07-04 17:46:07 -0700
committerPádraig Brady <P@draigBrady.com>2018-07-04 17:48:41 -0700
commit351ac1256b948ea90a2be9e7e54b47b05b517f4f (patch)
tree3da2b2947216010a9c4f5e2915ddcd382569433f /cfg.mk
parent19ceb7b89e2b55e8e8eded6148adca95c0cf5cf7 (diff)
downloadcoreutils-351ac1256b948ea90a2be9e7e54b47b05b517f4f.tar.gz
tests: fix skipping in some tests
* tests/cp/cp-a-selinux.sh: Use 'skip_' rather than the probably undefined 'skip'. * tests/du/2g.sh: Likewise. * tests/install/install-Z-selinux.sh: Likewise. * tests/misc/chcon.sh: Likewise. * tests/misc/selinux.sh: Likewise. * tests/mkdir/restorecon.sh: Likewise. * cfg.mk (sc_prohibit-skip): A new syntax check to catch the issue.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index 01a2525ab..a02ed2748 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -250,6 +250,11 @@ sc_prohibit-quotearg:
halt='Unstyled diagnostic quoting detected' \
$(_sc_search_regexp)
+sc_prohibit-skip:
+ @prohibit='\|\| skip ' \
+ halt='Use skip_ not skip' \
+ $(_sc_search_regexp)
+
sc_sun_os_names:
@grep -nEi \
'solaris[^[:alnum:]]*2\.(7|8|9|[1-9][0-9])|sunos[^[:alnum:]][6-9]' \