summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/systemd/legacy-scripts/eval
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/systemd/legacy-scripts/eval')
-rw-r--r--t/recipes/checks/systemd/legacy-scripts/eval/desc2
-rw-r--r--t/recipes/checks/systemd/legacy-scripts/eval/hints6
-rw-r--r--t/recipes/checks/systemd/legacy-scripts/eval/post-test1
3 files changed, 9 insertions, 0 deletions
diff --git a/t/recipes/checks/systemd/legacy-scripts/eval/desc b/t/recipes/checks/systemd/legacy-scripts/eval/desc
new file mode 100644
index 0000000..32e5996
--- /dev/null
+++ b/t/recipes/checks/systemd/legacy-scripts/eval/desc
@@ -0,0 +1,2 @@
+Testname: legacy-scripts
+Check: systemd
diff --git a/t/recipes/checks/systemd/legacy-scripts/eval/hints b/t/recipes/checks/systemd/legacy-scripts/eval/hints
new file mode 100644
index 0000000..5351e04
--- /dev/null
+++ b/t/recipes/checks/systemd/legacy-scripts/eval/hints
@@ -0,0 +1,6 @@
+scripts (binary): missing-systemd-service-for-init.d-script no-lsb [etc/init.d/no-lsb]
+scripts (binary): missing-systemd-service-for-init.d-script lsb-other [etc/init.d/lsb-other]
+scripts (binary): missing-systemd-service-for-init.d-script lsb-broken [etc/init.d/lsb-broken]
+scripts (binary): init.d-script-does-not-source-init-functions [etc/init.d/no-lsb]
+scripts (binary): init.d-script-does-not-source-init-functions [etc/init.d/lsb-other]
+scripts (binary): init.d-script-does-not-source-init-functions [etc/init.d/lsb-broken]
diff --git a/t/recipes/checks/systemd/legacy-scripts/eval/post-test b/t/recipes/checks/systemd/legacy-scripts/eval/post-test
new file mode 100644
index 0000000..faeef0b
--- /dev/null
+++ b/t/recipes/checks/systemd/legacy-scripts/eval/post-test
@@ -0,0 +1 @@
+s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/