summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/modprobe/obsolete-commands-in-modprobe
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/modprobe/obsolete-commands-in-modprobe')
-rw-r--r--t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/debian/install2
-rw-r--r--t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/fill-values3
-rw-r--r--t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-install.conf2
-rw-r--r--t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-lib.conf1
-rw-r--r--t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/desc2
-rw-r--r--t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/hints4
6 files changed, 14 insertions, 0 deletions
diff --git a/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/debian/install b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/debian/install
new file mode 100644
index 0000000..0577c69
--- /dev/null
+++ b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/debian/install
@@ -0,0 +1,2 @@
+lintian-install.conf etc/modprobe.d
+lintian-install.conf etc/modules-load.d
diff --git a/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/fill-values b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/fill-values
new file mode 100644
index 0000000..aa5bd2f
--- /dev/null
+++ b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: obsolete-commands-in-modprobe
+Description: Test package with obsolete commands in modprobe.d file
diff --git a/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-install.conf b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-install.conf
new file mode 100644
index 0000000..d47e02f
--- /dev/null
+++ b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-install.conf
@@ -0,0 +1,2 @@
+install modulename command
+remove modulename command
diff --git a/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-lib.conf b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-lib.conf
new file mode 100644
index 0000000..e2b41a8
--- /dev/null
+++ b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/orig/lintian-lib.conf
@@ -0,0 +1 @@
+/usr/lib/lintian
diff --git a/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/desc b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/desc
new file mode 100644
index 0000000..2598bb1
--- /dev/null
+++ b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/desc
@@ -0,0 +1,2 @@
+Testname: obsolete-commands-in-modprobe
+Check: modprobe
diff --git a/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/hints b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/hints
new file mode 100644
index 0000000..e1b77bb
--- /dev/null
+++ b/t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/hints
@@ -0,0 +1,4 @@
+obsolete-commands-in-modprobe (binary): obsolete-command-in-modprobe.d-file remove [etc/modules-load.d/lintian-install.conf]
+obsolete-commands-in-modprobe (binary): obsolete-command-in-modprobe.d-file remove [etc/modprobe.d/lintian-install.conf]
+obsolete-commands-in-modprobe (binary): obsolete-command-in-modprobe.d-file install [etc/modules-load.d/lintian-install.conf]
+obsolete-commands-in-modprobe (binary): obsolete-command-in-modprobe.d-file install [etc/modprobe.d/lintian-install.conf]