summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-60.service
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2021-06-08 09:04:35 +0200
committerAnita Zhang <the.anitazha@gmail.com>2021-06-09 21:04:56 +0200
commit0c81900965a72b29eb76e0737ed899b925ee75b6 (patch)
treea8a628157169dad20fd554e21c5fdf2ee737035c /test/units/testsuite-60.service
parentman: update docs on systemd-system.conf logging (LogTime=) (#19846) (diff)
downloadsystemd-0c81900965a72b29eb76e0737ed899b925ee75b6.tar.xz
systemd-0c81900965a72b29eb76e0737ed899b925ee75b6.zip
test: add extended test for triggering mount rate limit
It's hard to trigger the failure to exit the rate limit state in isolation as it needs multiple event sources in order to show that it gets stuck in the queue. Hence why this is an extended test.
Diffstat (limited to 'test/units/testsuite-60.service')
-rw-r--r--test/units/testsuite-60.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/units/testsuite-60.service b/test/units/testsuite-60.service
new file mode 100644
index 0000000000..3715c4f341
--- /dev/null
+++ b/test/units/testsuite-60.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=TEST-60-MOUNT-RATELIMIT
+
+[Service]
+Type=oneshot
+ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh