Page MenuHomeFreeBSD

lockf: tests: add tests for the -p and -T features
ClosedPublic

Authored by kevans on Jun 24 2025, 11:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 9, 4:51 PM
Unknown Object (File)
Sun, Mar 8, 4:42 PM
Unknown Object (File)
Feb 8 2026, 9:09 AM
Unknown Object (File)
Feb 7 2026, 12:42 AM
Unknown Object (File)
Feb 2 2026, 9:20 AM
Unknown Object (File)
Feb 2 2026, 1:08 AM
Unknown Object (File)
Jan 28 2026, 12:56 PM
Unknown Object (File)
Jan 25 2026, 5:04 AM
Subscribers

Diff Detail

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

Event Timeline

des requested changes to this revision.Jul 1 2025, 10:50 AM
des added inline comments.
usr.bin/lockf/tests/lockf_test.sh
229
230
250
251
295

what's the point of capturing stdout here?

296

what's the point of capturing stdout here?

311
This revision now requires changes to proceed.Jul 1 2025, 10:50 AM
kevans added inline comments.
usr.bin/lockf/tests/lockf_test.sh
295

save captures, file checks. these are both ensuring that we're only getting back the single pid.

usr.bin/lockf/tests/lockf_test.sh
295

oh, I misread

kevans marked 6 inline comments as done.

Address typos and other review feedback

only nits left

usr.bin/lockf/tests/lockf_test.sh
37

consider making this (and cur and tmo) local

This revision is now accepted and ready to land.Jul 10 2025, 4:44 PM
usr.bin/lockf/tests/lockf_test.sh
36

phab won't let me post this edit suggestion without a comment 🙄

288

phab won't let me post this edit suggestion without a comment 🙄