Page MenuHomeFreeBSD

diff: tests: loosen up requirements for report_identical
ClosedPublic

Authored by kevans on Apr 18 2022, 9:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 20 2024, 2:28 PM
Unknown Object (File)
Sep 22 2024, 10:46 PM
Unknown Object (File)
Sep 19 2024, 6:21 AM
Unknown Object (File)
Sep 18 2024, 6:10 AM
Unknown Object (File)
Sep 16 2024, 1:55 AM
Unknown Object (File)
Sep 11 2024, 2:10 AM
Unknown Object (File)
Sep 10 2024, 5:52 AM
Unknown Object (File)
Sep 5 2024, 4:59 AM
Subscribers

Details

Summary

This test cannot run without an unprivileged_user being specified
anyways, so just run as the unprivileged user. Revoking read permisions
works just as well if you're guaranteed non-root.

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I think I'm the one to blame for this, but I've never understood ATF and from other usage across our repo it wasn't clear to me how to properly do this.

This revision is now accepted and ready to land.Apr 18 2022, 9:41 PM

I think I'm the one to blame for this, but I've never understood ATF and from other usage across our repo it wasn't clear to me how to properly do this.

No worries. :-) IMO, require.user having valid values of root|unprivileged isn't entirely intuitive.