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

[lintian] 02/03: t: Add test for p11-kit module tag



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

nthykier pushed a commit to branch master
in repository lintian.

commit 246feba5efdfc6d1e27802b5de429905e3f2e119
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jul 5 11:43:24 2014 +0200

    t: Add test for p11-kit module tag
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 .../files-foo-violates-expected-naming/debian/_bad-pkcs11.module   | 0
 .../debian/cron-script.hourly                                      | 0
 t/tests/files-foo-violates-expected-naming/debian/debian/install   | 2 ++
 t/tests/files-foo-violates-expected-naming/desc                    | 7 +++++++
 t/tests/files-foo-violates-expected-naming/tags                    | 2 ++
 t/tests/files-run-parts-cron/debian/debian/install                 | 1 -
 t/tests/files-run-parts-cron/desc                                  | 6 ------
 t/tests/files-run-parts-cron/tags                                  | 1 -
 8 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/t/tests/files-foo-violates-expected-naming/debian/_bad-pkcs11.module b/t/tests/files-foo-violates-expected-naming/debian/_bad-pkcs11.module
new file mode 100644
index 0000000..e69de29
diff --git a/t/tests/files-run-parts-cron/debian/cron-script.hourly b/t/tests/files-foo-violates-expected-naming/debian/cron-script.hourly
similarity index 100%
rename from t/tests/files-run-parts-cron/debian/cron-script.hourly
rename to t/tests/files-foo-violates-expected-naming/debian/cron-script.hourly
diff --git a/t/tests/files-foo-violates-expected-naming/debian/debian/install b/t/tests/files-foo-violates-expected-naming/debian/debian/install
new file mode 100644
index 0000000..02c3f92
--- /dev/null
+++ b/t/tests/files-foo-violates-expected-naming/debian/debian/install
@@ -0,0 +1,2 @@
+_bad-pkcs11.module usr/share/p11-kit/modules/
+cron-script.hourly etc/cron.hourly/
diff --git a/t/tests/files-foo-violates-expected-naming/desc b/t/tests/files-foo-violates-expected-naming/desc
new file mode 100644
index 0000000..f513e11
--- /dev/null
+++ b/t/tests/files-foo-violates-expected-naming/desc
@@ -0,0 +1,7 @@
+Testname: files-foo-violates-expected-naming
+Sequence: 6000
+Version: 1.0
+Description: Test naming conventions not being followed
+Test-For:
+ incorrect-naming-of-pkcs11-module
+ run-parts-cron-filename-contains-illegal-chars
diff --git a/t/tests/files-foo-violates-expected-naming/tags b/t/tests/files-foo-violates-expected-naming/tags
new file mode 100644
index 0000000..fb8933a
--- /dev/null
+++ b/t/tests/files-foo-violates-expected-naming/tags
@@ -0,0 +1,2 @@
+E: files-foo-violates-expected-naming: incorrect-naming-of-pkcs11-module usr/share/p11-kit/modules/_bad-pkcs11.module
+W: files-foo-violates-expected-naming: run-parts-cron-filename-contains-illegal-chars etc/cron.hourly/cron-script.hourly
diff --git a/t/tests/files-run-parts-cron/debian/debian/install b/t/tests/files-run-parts-cron/debian/debian/install
deleted file mode 100644
index f14a000..0000000
--- a/t/tests/files-run-parts-cron/debian/debian/install
+++ /dev/null
@@ -1 +0,0 @@
-cron-script.hourly etc/cron.hourly/
diff --git a/t/tests/files-run-parts-cron/desc b/t/tests/files-run-parts-cron/desc
deleted file mode 100644
index bafbbf4..0000000
--- a/t/tests/files-run-parts-cron/desc
+++ /dev/null
@@ -1,6 +0,0 @@
-Testname: files-run-parts-cron
-Sequence: 6000
-Version: 1.0
-Description: Test for cron scripts with dots in them
-Test-For:
-  run-parts-cron-filename-contains-illegal-chars
diff --git a/t/tests/files-run-parts-cron/tags b/t/tests/files-run-parts-cron/tags
deleted file mode 100644
index eeee7cb..0000000
--- a/t/tests/files-run-parts-cron/tags
+++ /dev/null
@@ -1 +0,0 @@
-W: files-run-parts-cron: run-parts-cron-filename-contains-illegal-chars etc/cron.hourly/cron-script.hourly

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


Reply to: