[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 03/03: Verify that additional exceptions for spelling-error-in-binary work



This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository lintian.

commit a81d15bd7e37e07ecbc18844334157a03b1a73a6
Author: Axel Beckert <abe@deuxchevaux.org>
Date:   Mon Apr 20 21:26:47 2015 +0200

    Verify that additional exceptions for spelling-error-in-binary work
    
    Basically this is the test belonging to the previous two commits.
---
 debian/changelog                         | 3 +++
 t/tests/binaries-spelling/debian/basic.c | 2 ++
 t/tests/binaries-spelling/tags           | 1 +
 3 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f1efa06..4993cb0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1684,6 +1684,9 @@ lintian (2.5.18) unstable; urgency=low
     + [NT] Work around bug in Perl (#723805) when using "glob"
       within threads.  Thanks to Brian "hugmeir" Fraser for
       finding the underlying cause.
+  * t/tests/binaries-spelling/{debian/basic.c,tags}:
+    + [AB] Add subtest which verifies that the additional exception list
+      (teh vs tEh) for spelling-error-in-binary works.
   * t/tests/legacy-debug/debian/debian/control:
     + [NT] Mark some packages "arch:any" to avoid test failures
       on kfreebsd-amd64.  (Closes: #688524)
diff --git a/t/tests/binaries-spelling/debian/basic.c b/t/tests/binaries-spelling/debian/basic.c
index df6a611..84502ed 100644
--- a/t/tests/binaries-spelling/debian/basic.c
+++ b/t/tests/binaries-spelling/debian/basic.c
@@ -14,6 +14,8 @@ int
 main(void)
 {
     printf("I iz an exprimental speling error!\n");
+    printf("I also have teh broken teh!\n");
+    printf("But tEH non-broken tEh needs to be on its own line!\n");
     hardening_trigger(NULL, 0, NULL);
     return 0;
 }
diff --git a/t/tests/binaries-spelling/tags b/t/tests/binaries-spelling/tags
index e55fe90..53bf94a 100644
--- a/t/tests/binaries-spelling/tags
+++ b/t/tests/binaries-spelling/tags
@@ -1,3 +1,4 @@
 I: binaries-spelling: spelling-error-in-binary usr/bin/basic exprimental experimental
 I: binaries-spelling: spelling-error-in-binary usr/bin/basic speling spelling
+I: binaries-spelling: spelling-error-in-binary usr/bin/basic teh the
 W: binaries-spelling: binary-without-manpage usr/bin/basic

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: