summaryrefslogtreecommitdiff
path: root/test/units/testsuite-79.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-02-23 17:41:35 +0100
committerLennart Poettering <lennart@poettering.net>2023-03-01 09:43:24 +0100
commit3b7101183cac4b35a8bd6ea2c1de9260c33f977f (patch)
tree7891041e57fb99438973a6304eadab1a5c3e2a7d /test/units/testsuite-79.service
parent9d03637404a7e53dee2d47b3d5d1dc47b59997e9 (diff)
downloadsystemd-3b7101183cac4b35a8bd6ea2c1de9260c33f977f.tar.gz
test: add test for the new memory pressure unit file settings, and that they work
Diffstat (limited to 'test/units/testsuite-79.service')
-rw-r--r--test/units/testsuite-79.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/units/testsuite-79.service b/test/units/testsuite-79.service
new file mode 100644
index 0000000000..f2d24df9cf
--- /dev/null
+++ b/test/units/testsuite-79.service
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=TEST-79-MEMPRESS
+
+[Service]
+Type=oneshot
+ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
+MemoryAccounting=1