Page MenuHomeFreeBSD

indent: Simplify test script
ClosedPublic

Authored by des on Aug 7 2025, 4:35 PM.
Tags
None
Referenced Files
F168665698: D51795.id159973.diff
Sat, Aug 29, 12:48 PM
Unknown Object (File)
Thu, Aug 27, 4:25 AM
Unknown Object (File)
Wed, Aug 26, 4:04 PM
Unknown Object (File)
Tue, Aug 25, 4:46 PM
Unknown Object (File)
Tue, Aug 25, 2:07 AM
Unknown Object (File)
Mon, Aug 24, 11:42 AM
Unknown Object (File)
Mon, Aug 24, 4:02 AM
Unknown Object (File)
Sat, Aug 22, 11:09 AM
Subscribers

Details

Summary

Much of the test script was concerned with working around RCS tags and
dealing with cases which don't apply to indent.

MFC after: 1 week
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66088
Build 62971: arc lint + arc unit

Event Timeline

des requested review of this revision.Aug 7 2025, 4:35 PM
markj added inline comments.
usr.bin/indent/tests/functional_test.sh
3

Existing license text should be preserved.

34

Since it was declared local before, though it doesn't really matter. Alternately, don't bother using local at all.

usr.bin/indent/tests/functional_test.sh
34

actually profile_flag was not local in the original code

des marked 2 inline comments as done.

oops

markj added inline comments.
usr.bin/indent/tests/functional_test.sh
34

Ah, I was looking at profile_file.

This revision is now accepted and ready to land.Aug 7 2025, 11:28 PM
This revision was automatically updated to reflect the committed changes.