From 86d59686b720acbf967b09049fb3d63d34039f87 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 8 Apr 2025 02:49:07 +0900 Subject: [PATCH] TEST-04-JOURNAL: include util.sh before calling cgroupfs_supports_user_xattrs() Fixes a bug introduced by 46322f27427ab10ef4fca4d189f8eed27d1b5eaf (v256). Fixes #36991. --- test/units/TEST-04-JOURNAL.LogFilterPatterns.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/units/TEST-04-JOURNAL.LogFilterPatterns.sh b/test/units/TEST-04-JOURNAL.LogFilterPatterns.sh index ec99b862267..e80e78e5002 100755 --- a/test/units/TEST-04-JOURNAL.LogFilterPatterns.sh +++ b/test/units/TEST-04-JOURNAL.LogFilterPatterns.sh @@ -3,14 +3,14 @@ set -eux set -o pipefail +# shellcheck source=test/units/util.sh +. "$(dirname "$0")"/util.sh + if ! cgroupfs_supports_user_xattrs; then echo "CGroup does not support user xattrs, skipping LogFilterPatterns= tests." exit 0 fi -# shellcheck source=test/units/util.sh -. "$(dirname "$0")"/util.sh - NEEDS_RELOAD= add_logs_filtering_override() { -- 2.47.3