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)
Thu, Mar 7, 7:00 PM
Unknown Object (File)
Feb 18 2024, 7:59 PM
Unknown Object (File)
Jan 13 2024, 11:15 PM
Unknown Object (File)
Jan 3 2024, 6:39 PM
Unknown Object (File)
Dec 25 2023, 4:22 AM
Unknown Object (File)
Dec 16 2023, 4:59 PM
Unknown Object (File)
Nov 28 2023, 10:25 PM
Unknown Object (File)
Nov 28 2023, 6:26 PM
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.