diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-01 10:57:59 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-01 11:26:31 +0100 |
commit | d0745f417ce32d647ab5a949b6027404da5e98c3 (patch) | |
tree | 043cfc5f533f7dc95e535f61163eb9e90dd1ede9 | |
parent | d504183866dccdf8e7c09522b601236d91591141 (diff) | |
download | patch-d0745f417ce32d647ab5a949b6027404da5e98c3.tar.gz |
maint: enable the sc_space_tab syntax-check rule
* cfg.mk (local-checks-to-skip): Remove sc_space_tab,
thus enabling this syntax-check rule.
* tests/quoted-filenames: Use TAB-space, not space-TAB.
-rw-r--r-- | cfg.mk | 3 | ||||
-rw-r--r-- | tests/quoted-filenames | 8 |
2 files changed, 5 insertions, 6 deletions
@@ -30,8 +30,7 @@ local-checks-to-skip = \ sc_prohibit_magic_number_exit \ sc_prohibit_strcmp \ sc_prohibit_test_minus_ao \ - sc_require_test_exit_idiom \ - sc_space_tab + sc_require_test_exit_idiom exclude_file_name_regexp--sc_prohibit_doubled_word = ^src/util\.c$$ exclude_file_name_regexp--sc_unmarked_diagnostics = ^src/util\.c$$ diff --git a/tests/quoted-filenames b/tests/quoted-filenames index ffbac09..d1fbe88 100644 --- a/tests/quoted-filenames +++ b/tests/quoted-filenames @@ -18,13 +18,13 @@ use_tmpdir # \ / : * ? " < > | cat > d.diff <<EOF -diff --git " \\t\\040" " \\t\\040" ---- " \\t\\040" -+++ " \\t\\040" +diff --git "\\t \\040" "\\t \\040" +--- "\\t \\040" ++++ "\\t \\040" @@ -1 +1 @@ -one +two EOF -ncheck 'echo one > " "' +ncheck 'echo one > " "' ncheck 'patch -s -p0 < d.diff' |