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