* cfg.mk (local-checks-to-skip): Enable space-tab. * .x-sc_space_tab: Add exceptions. * tests/status.sh: Fix occurrence. --- The dfa.c exception will go away later in the series. The .diff exception should probably be built into maint.mk.
.x-sc_space_tab | 2 ++ cfg.mk | 1 - tests/status.sh | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .x-sc_space_tab diff --git a/.x-sc_space_tab b/.x-sc_space_tab new file mode 100644 index 0000000..be9bbd8 --- /dev/null +++ b/.x-sc_space_tab @@ -0,0 +1,2 @@ +\.diff$ +^src/dfa\.c$ diff --git a/cfg.mk b/cfg.mk index d2347e1..5ccaf5e 100644 --- a/cfg.mk +++ b/cfg.mk @@ -23,7 +23,6 @@ gpg_key_ID = B9AB9A16 # Tests not to run as part of "make distcheck". local-checks-to-skip = \ sc_prohibit_strcmp \ - sc_space_tab \ sc_useless_cpp_parens # Tools used to bootstrap this package, used for "announcement". diff --git a/tests/status.sh b/tests/status.sh index a1e95bd..d6216d2 100755 --- a/tests/status.sh +++ b/tests/status.sh @@ -36,15 +36,15 @@ else # should return 2 file not found ${GREP} -E -e 'abc' MMMMMMMM.MMM > /dev/null 2>&1 if test $? -ne 2 ; then - echo "Status: Wrong status code, test \#3 failed" - failures=1 + echo "Status: Wrong status code, test \#3 failed" + failures=1 fi # should return 2 file not found ${GREP} -E -s -e 'abc' MMMMMMMM.MMM > /dev/null 2>&1 if test $? -ne 2 ; then - echo "Status: Wrong status code, test \#4 failed" - failures=1 + echo "Status: Wrong status code, test \#4 failed" + failures=1 fi # should return 2 file not found -- 1.6.6