From 8f724c06ae9d059f2eb637fe258ffbeb2c2bad2f Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Sat, 10 Feb 2024 16:24:10 +0900 Subject: [PATCH] test: add test case for issue user journal corruption For issue #24150 and #31222. --- test/test-functions | 2 +- test/units/testsuite-04.user-corrupt.sh | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100755 test/units/testsuite-04.user-corrupt.sh diff --git a/test/test-functions b/test/test-functions index 80fdcd26b9485..cdae1e97b0a73 100644 --- a/test/test-functions +++ b/test/test-functions @@ -2099,7 +2099,7 @@ install_testuser() { # create unprivileged user for user manager tests mkdir -p "${initdir:?}/etc/sysusers.d" cat >"$initdir/etc/sysusers.d/testuser.conf" <