mirror of
https://github.com/systemd/systemd.git
synced 2025-03-09 12:58:26 +03:00
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
This commit is contained in:
parent
b46fe64dbf
commit
6c5d4f0645
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user