summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-71.service
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-06-14 02:03:00 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-06-14 13:56:18 +0200
commit39f4546199d6394014cf79b76b9ff22d3c149c54 (patch)
tree948dcf8da5c8599f477359c24b78c49aa12a8ad5 /test/units/testsuite-71.service
parenttest: support debian/ubuntu specific timezone config file (diff)
downloadsystemd-39f4546199d6394014cf79b76b9ff22d3c149c54.tar.xz
systemd-39f4546199d6394014cf79b76b9ff22d3c149c54.zip
test: import hostnamed tests from debian/ubuntu test suite
Diffstat (limited to 'test/units/testsuite-71.service')
-rw-r--r--test/units/testsuite-71.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/units/testsuite-71.service b/test/units/testsuite-71.service
new file mode 100644
index 0000000000..019e8bff24
--- /dev/null
+++ b/test/units/testsuite-71.service
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=TEST-71-HOSTNAME
+
+[Service]
+ExecStartPre=rm -f /failed /testok
+ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
+StandardOutput=journal+console
+StandardError=journal+console
+Type=oneshot