diff options
author | Pádraig Brady <P@draigBrady.com> | 2018-07-04 17:46:07 -0700 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2018-07-04 17:48:41 -0700 |
commit | 351ac1256b948ea90a2be9e7e54b47b05b517f4f (patch) | |
tree | 3da2b2947216010a9c4f5e2915ddcd382569433f /cfg.mk | |
parent | 19ceb7b89e2b55e8e8eded6148adca95c0cf5cf7 (diff) | |
download | coreutils-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.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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]' \ |