summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-07 20:42:58 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-07 20:42:58 -0400
commite66047ff62c971eefa32b42373420d61e3f2a9c1 (patch)
treebbc8cf991b4e45f5c7614ed446674a2472643b50 /test
parent17a6dfa3be0ac9d9b84b57c8af66515b573fc1a4 (diff)
core: do not add dependencies to self
Adds a pair of files which cause a segfault (also with systemd-analyze verify). https://bugzilla.redhat.com/show_bug.cgi?id=1124843
Diffstat (limited to 'test')
-rw-r--r--test/loopy.service2
-rw-r--r--test/loopy.service.d/compat.conf5
l---------test/loopy2.service1
3 files changed, 8 insertions, 0 deletions
diff --git a/test/loopy.service b/test/loopy.service
new file mode 100644
index 000000000..9eb645748
--- /dev/null
+++ b/test/loopy.service
@@ -0,0 +1,2 @@
+[Service]
+ExecStart=/bin/true
diff --git a/test/loopy.service.d/compat.conf b/test/loopy.service.d/compat.conf
new file mode 100644
index 000000000..51b84b89e
--- /dev/null
+++ b/test/loopy.service.d/compat.conf
@@ -0,0 +1,5 @@
+[Unit]
+BindsTo=loopy2.service
+
+[Install]
+Also=loopy2.service
diff --git a/test/loopy2.service b/test/loopy2.service
new file mode 120000
index 000000000..961b1fe9b
--- /dev/null
+++ b/test/loopy2.service
@@ -0,0 +1 @@
+loopy.service \ No newline at end of file