summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/init-d/legacy-scripts/eval
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/init-d/legacy-scripts/eval')
-rw-r--r--t/recipes/checks/init-d/legacy-scripts/eval/desc2
-rw-r--r--t/recipes/checks/init-d/legacy-scripts/eval/hints21
-rw-r--r--t/recipes/checks/init-d/legacy-scripts/eval/post-test1
3 files changed, 24 insertions, 0 deletions
diff --git a/t/recipes/checks/init-d/legacy-scripts/eval/desc b/t/recipes/checks/init-d/legacy-scripts/eval/desc
new file mode 100644
index 0000000..70aec81
--- /dev/null
+++ b/t/recipes/checks/init-d/legacy-scripts/eval/desc
@@ -0,0 +1,2 @@
+Testname: legacy-scripts
+Check: init-d
diff --git a/t/recipes/checks/init-d/legacy-scripts/eval/hints b/t/recipes/checks/init-d/legacy-scripts/eval/hints
new file mode 100644
index 0000000..8b3fba8
--- /dev/null
+++ b/t/recipes/checks/init-d/legacy-scripts/eval/hints
@@ -0,0 +1,21 @@
+scripts (binary): init.d-script-not-marked-as-conffile etc/init.d/skeleton
+scripts (binary): init.d-script-missing-lsb-short-description [etc/init.d/lsb-other]
+scripts (binary): init.d-script-missing-lsb-section [etc/init.d/no-lsb]
+scripts (binary): init.d-script-missing-lsb-keyword required-start [etc/init.d/lsb-broken]
+scripts (binary): init.d-script-has-unterminated-lsb-section [etc/init.d/lsb-broken:15]
+scripts (binary): init.d-script-has-unknown-lsb-keyword foo [etc/init.d/lsb-broken:14]
+scripts (binary): init.d-script-has-duplicate-lsb-section [etc/init.d/lsb-broken:19]
+scripts (binary): init.d-script-has-conflicting-start-stop 1 [etc/init.d/lsb-broken]
+scripts (binary): init.d-script-has-bad-stop-runlevel X [etc/init.d/lsb-broken]
+scripts (binary): init.d-script-has-bad-lsb-line [etc/init.d/lsb-broken:9]
+scripts (binary): init.d-script-has-bad-lsb-line [etc/init.d/lsb-broken:4]
+scripts (binary): init.d-script-does-not-provide-itself [etc/init.d/lsb-broken]
+scripts (binary): init.d-script-does-not-implement-status-option [etc/init.d/skeleton]
+scripts (binary): init.d-script-does-not-implement-status-option [etc/init.d/no-lsb]
+scripts (binary): init.d-script-does-not-implement-status-option [etc/init.d/lsb-other]
+scripts (binary): init.d-script-does-not-implement-status-option [etc/init.d/lsb-broken]
+scripts (binary): init.d-script-does-not-implement-required-option restart [etc/init.d/lsb-broken]
+scripts (binary): init.d-script-does-not-implement-required-option force-reload [etc/init.d/lsb-broken]
+scripts (binary): init-d-script-stops-in-s-runlevel [etc/init.d/skeleton]
+scripts (binary): init-d-script-stops-in-s-runlevel [etc/init.d/lsb-broken]
+scripts (binary): duplicate-updaterc.d-calls-in-postrm lsb-other [postrm:8]
diff --git a/t/recipes/checks/init-d/legacy-scripts/eval/post-test b/t/recipes/checks/init-d/legacy-scripts/eval/post-test
new file mode 100644
index 0000000..faeef0b
--- /dev/null
+++ b/t/recipes/checks/init-d/legacy-scripts/eval/post-test
@@ -0,0 +1 @@
+s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/