summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-13 18:57:31 +0200
committerJim Meyering <meyering@redhat.com>2011-05-13 18:57:31 +0200
commit76f49e601eb630d9f3d7c34676f38a5083f318fc (patch)
tree457747c4134c0379128e60e89e75e45b98270816 /tests
parent89d542f3d8fc97b3f9c45ad5beee9afdb68da152 (diff)
downloadcoreutils-76f49e601eb630d9f3d7c34676f38a5083f318fc.tar.xz
maint: add new syntax-check rule to prohibit use of skip_
* cfg.mk (sc_prohibit_skip_): New rule. * tests/init.cfg (skip_test_): Add a comment.
Diffstat (limited to 'tests')
-rw-r--r--tests/init.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/init.cfg b/tests/init.cfg
index 55d757175..3a59bbd6b 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -34,6 +34,9 @@ sanitize_path_()
export PATH
}
+# Use this function rather than init.sh's skip_.
+# The "skip_" function emits its diagnostic only to one stream.
+# This one emits it both to the tty and to the log file.
skip_test_()
{
echo "$0: skipping test: $@" | head -1 1>&9