Skip to content

Commit

Permalink
tests: do not compare /etc/shadow{,-} in tree-diff
Browse files Browse the repository at this point in the history
Changes in `/etc/shadow` depend on the date, i.e. the last time
the password changed field. So for now exclude them from the
tree diff (until we use `faketime` to fix this :)
  • Loading branch information
mvo5 committed Nov 13, 2023
1 parent b10c201 commit f809e34
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/data/stages/users/diff.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@
},
"/etc/shadow": {
"content": [
"sha256:b47e92518ad86ee0ba8879d32fcafdbdc88c090cc52a719fdc3fbb0970df3314",
"sha256:4ae542f2f3f68be72bad37d970a1111a660ad8fa48102f8afc53a402e43445af"
null,
null
]
},
"/etc/shadow-": {
"content": [
"sha256:26d861972ed591ecfedcfcdb7d95dc9fd25973c8cdbc713410805d8c27ff83ef",
"sha256:06cd676f7055ab045a85fc3188df54bb7a91b5e77ee9e80c6234444ba7688ab8"
null,
null
]
},
"/etc/subgid": {
Expand Down

0 comments on commit f809e34

Please sign in to comment.