From: Daan De Meyer Date: Thu, 9 May 2024 07:40:16 +0000 (+0200) Subject: TEST-46-HOMED: Ignore "Disk Usage" field as well X-Git-Tag: v256-rc2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c5d4f0645ca36281fafbf72d0219b115dbdebb4;p=thirdparty%2Fsystemd.git 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 --- diff --git a/test/units/testsuite-46.sh b/test/units/testsuite-46.sh index 61f17d4e46b..5dc00f48625 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"