From 6c5d4f0645ca36281fafbf72d0219b115dbdebb4 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 9 May 2024 09:40:16 +0200 Subject: [PATCH] TEST-46-HOMED: Ignore "Disk Usage" field as well This can change between the call to homectl inspect and userdbctl user so let's ignore it along with the other disk fields. Fixes #32727 --- test/units/testsuite-46.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/testsuite-46.sh b/test/units/testsuite-46.sh index 61f17d4e46..5dc00f4862 100755 --- a/test/units/testsuite-46.sh +++ b/test/units/testsuite-46.sh @@ -20,7 +20,7 @@ inspect() { userdbctl user "$USERNAME" | tee /tmp/b # diff uses the grep BREs for pattern matching - diff -I '^\s*Disk \(Size\|Free\|Floor\|Ceiling\):' /tmp/{a,b} + diff -I '^\s*Disk \(Size\|Free\|Floor\|Ceiling\|Usage\):' /tmp/{a,b} rm /tmp/{a,b} homectl inspect --json=pretty "$USERNAME"