summaryrefslogtreecommitdiff
path: root/test2
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-20 18:26:29 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-20 18:26:29 +0100
commit279ade1311982e91a8baadf4deb6dabf651a1e5f (patch)
treedb7a9ee567707e5b574c1b39701cd73aad9e9696 /test2
parent7fad411cb551c3c1cbe801a3991e7a6966e462b5 (diff)
add missing test code
Diffstat (limited to 'test2')
-rw-r--r--test2/Makefile7
-rw-r--r--test2/a.service4
-rw-r--r--test2/b.service2
-rw-r--r--test2/c.service3
-rw-r--r--test2/d.service5
-rw-r--r--test2/e.service5
6 files changed, 26 insertions, 0 deletions
diff --git a/test2/Makefile b/test2/Makefile
new file mode 100644
index 0000000000..9aa46b4eb6
--- /dev/null
+++ b/test2/Makefile
@@ -0,0 +1,7 @@
+# Just a little hook script to easy building when in this directory
+
+all:
+ $(MAKE) -C ..
+
+clean:
+ $(MAKE) -C .. clean
diff --git a/test2/a.service b/test2/a.service
new file mode 100644
index 0000000000..4ddb8b4622
--- /dev/null
+++ b/test2/a.service
@@ -0,0 +1,4 @@
+[Meta]
+Description=A
+Requires=b.service
+Before=b.service
diff --git a/test2/b.service b/test2/b.service
new file mode 100644
index 0000000000..b096e0d3fb
--- /dev/null
+++ b/test2/b.service
@@ -0,0 +1,2 @@
+[Meta]
+Description=B
diff --git a/test2/c.service b/test2/c.service
new file mode 100644
index 0000000000..8800ff70c7
--- /dev/null
+++ b/test2/c.service
@@ -0,0 +1,3 @@
+[Meta]
+Description=C
+Requires=a.service
diff --git a/test2/d.service b/test2/d.service
new file mode 100644
index 0000000000..279c1716c2
--- /dev/null
+++ b/test2/d.service
@@ -0,0 +1,5 @@
+[Meta]
+Description=D:Cyclic
+After=b.service
+Before=a.service
+Requires=a.service
diff --git a/test2/e.service b/test2/e.service
new file mode 100644
index 0000000000..2e86e33daf
--- /dev/null
+++ b/test2/e.service
@@ -0,0 +1,5 @@
+[Meta]
+Description=E:Cyclic
+After=b.service
+Before=a.service
+Wants=a.service