diff options
Diffstat (limited to 't/recipes/checks/systemd/service-file-no-install-key')
5 files changed, 15 insertions, 0 deletions
diff --git a/t/recipes/checks/systemd/service-file-no-install-key/build-spec/debian/install b/t/recipes/checks/systemd/service-file-no-install-key/build-spec/debian/install new file mode 100644 index 0000000..67712f2 --- /dev/null +++ b/t/recipes/checks/systemd/service-file-no-install-key/build-spec/debian/install @@ -0,0 +1 @@ +debian/no-install.service usr/lib/systemd/system/ diff --git a/t/recipes/checks/systemd/service-file-no-install-key/build-spec/debian/no-install.service b/t/recipes/checks/systemd/service-file-no-install-key/build-spec/debian/no-install.service new file mode 100644 index 0000000..80468ef --- /dev/null +++ b/t/recipes/checks/systemd/service-file-no-install-key/build-spec/debian/no-install.service @@ -0,0 +1,8 @@ +[Unit] +Documentation=https://www.freedesktop.org/wiki/Software/dbus/ + +[Service] +ExecStart=/usr/bin/test +PrivateNetwork=yes + +[Install] diff --git a/t/recipes/checks/systemd/service-file-no-install-key/build-spec/fill-values b/t/recipes/checks/systemd/service-file-no-install-key/build-spec/fill-values new file mode 100644 index 0000000..9cbed20 --- /dev/null +++ b/t/recipes/checks/systemd/service-file-no-install-key/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: service-file-no-install-key +Description: Service file lacks the required Install key diff --git a/t/recipes/checks/systemd/service-file-no-install-key/eval/desc b/t/recipes/checks/systemd/service-file-no-install-key/eval/desc new file mode 100644 index 0000000..d6651f0 --- /dev/null +++ b/t/recipes/checks/systemd/service-file-no-install-key/eval/desc @@ -0,0 +1,2 @@ +Testname: service-file-no-install-key +Check: systemd diff --git a/t/recipes/checks/systemd/service-file-no-install-key/eval/hints b/t/recipes/checks/systemd/service-file-no-install-key/eval/hints new file mode 100644 index 0000000..65448a8 --- /dev/null +++ b/t/recipes/checks/systemd/service-file-no-install-key/eval/hints @@ -0,0 +1 @@ +service-file-no-install-key (binary): systemd-service-file-missing-install-key [usr/lib/systemd/system/no-install.service] |