[Toybox] [PATCH] tar.test: don't test non-`-p` behavior as root.

Rob Landley rob at landley.net
Sat Jul 27 13:04:32 PDT 2024


On 7/23/24 14:55, enh via Toybox wrote:
> Fixes https://github.com/landley/toybox/issues/512.

Applied, but could you email me the tarball for the tar "ownership" test that
produces the 2d7b hash? I'm getting a d9e7 hash here, and just confirmed the
previous laptop doing TEST_HOST with devuan brochitis was also producing d9e7.
(Which I didn't notice because passing all root tests is under the mkroot todo
item...)

The downside of testing hashes instead of hd output is when it differs and you
can't reproduce the old one, it doesn't say why. You added this hash in commit
43d398ad5d7b and it's possible it never worked for me, but if --owner --group
--mtime aren't squashing all the variables I'd like to know what still varies.

Both toybox tar and host tar are producing the same output, so it's presumably a
filesystem thing, possibly different passwd uids for "nobody"...?

Thanks,

Rob


More information about the Toybox mailing list