diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2021-06-08 09:04:35 +0200 |
---|---|---|
committer | Anita Zhang <the.anitazha@gmail.com> | 2021-06-09 21:04:56 +0200 |
commit | 0c81900965a72b29eb76e0737ed899b925ee75b6 (patch) | |
tree | a8a628157169dad20fd554e21c5fdf2ee737035c /test/TEST-60-MOUNT-RATELIMIT | |
parent | man: update docs on systemd-system.conf logging (LogTime=) (#19846) (diff) | |
download | systemd-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/TEST-60-MOUNT-RATELIMIT')
l--------- | test/TEST-60-MOUNT-RATELIMIT/Makefile | 1 | ||||
-rwxr-xr-x | test/TEST-60-MOUNT-RATELIMIT/test.sh | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/TEST-60-MOUNT-RATELIMIT/Makefile b/test/TEST-60-MOUNT-RATELIMIT/Makefile new file mode 120000 index 0000000000..e9f93b1104 --- /dev/null +++ b/test/TEST-60-MOUNT-RATELIMIT/Makefile @@ -0,0 +1 @@ +../TEST-01-BASIC/Makefile
\ No newline at end of file diff --git a/test/TEST-60-MOUNT-RATELIMIT/test.sh b/test/TEST-60-MOUNT-RATELIMIT/test.sh new file mode 100755 index 0000000000..f9eb11ccb4 --- /dev/null +++ b/test/TEST-60-MOUNT-RATELIMIT/test.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -e +TEST_DESCRIPTION="Test that mount/unmount storms can enter/exit rate limit state and will not leak units" + +. $TEST_BASE_DIR/test-functions + +do_test "$@" |