diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-04-10 13:04:50 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-04-10 15:49:28 +0200 |
commit | 48c21790baffce5bbc67168b84fbab4140300a80 (patch) | |
tree | 06a42aa54e8855e55449335908a6b906adcd06c3 /test/testsuite-23.units | |
parent | shared/open-file: use xescape to escape ':' (diff) | |
download | systemd-48c21790baffce5bbc67168b84fbab4140300a80.tar.xz systemd-48c21790baffce5bbc67168b84fbab4140300a80.zip |
test: merge TEST-77-OPENFILE into TEST-23-UNIT-FILE
And add coverage for #32179
Diffstat (limited to 'test/testsuite-23.units')
-rw-r--r-- | test/testsuite-23.units/testsuite-23-openfile-server.socket | 6 | ||||
-rw-r--r-- | test/testsuite-23.units/testsuite-23-openfile-server@.service | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test/testsuite-23.units/testsuite-23-openfile-server.socket b/test/testsuite-23.units/testsuite-23-openfile-server.socket new file mode 100644 index 0000000000..c8f759584a --- /dev/null +++ b/test/testsuite-23.units/testsuite-23-openfile-server.socket @@ -0,0 +1,6 @@ +[Unit] +Description=OpenFile= test server socket + +[Socket] +ListenStream=/tmp/test.sock +Accept=yes diff --git a/test/testsuite-23.units/testsuite-23-openfile-server@.service b/test/testsuite-23.units/testsuite-23-openfile-server@.service new file mode 100644 index 0000000000..a57c804c43 --- /dev/null +++ b/test/testsuite-23.units/testsuite-23-openfile-server@.service @@ -0,0 +1,7 @@ +[Unit] +Description=OpenFile= test server service + +[Service] +ExecStart=echo "Socket" +StandardInput=socket +StandardOutput=socket |