chiark / gitweb /
tests: add test-execute
[elogind.git] / test / exec-ignoresigpipe-yes.service
diff --git a/test/exec-ignoresigpipe-yes.service b/test/exec-ignoresigpipe-yes.service
new file mode 100644 (file)
index 0000000..877ec8a
--- /dev/null
@@ -0,0 +1,7 @@
+[Unit]
+Description=Test for IgnoreSIGPIPE=yes
+
+[Service]
+ExecStart=/bin/sh -c 'kill -PIPE 0'
+Type=oneshot
+IgnoreSIGPIPE=yes