From 76f49e601eb630d9f3d7c34676f38a5083f318fc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 13 May 2011 18:57:31 +0200 Subject: 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. --- tests/init.cfg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2