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
F154619950: D51026.id158018.diff
Wed, Apr 29, 1:34 AM
F154618122: D51026.id158018.diff
Wed, Apr 29, 1:29 AM
F154398160: D51026.diff
Tue, Apr 28, 8:31 AM
Unknown Object (File)
Tue, Apr 28, 12:53 AM
Unknown Object (File)
Mon, Apr 20, 12:13 AM
Unknown Object (File)
Sun, Apr 19, 12:51 PM
Unknown Object (File)
Sun, Apr 19, 12:51 PM
Unknown Object (File)
Sun, Apr 19, 11:17 AM
Subscribers

Diff Detail

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

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
230
231
251
252
296

what's the point of capturing stdout here?

297

what's the point of capturing stdout here?

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

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

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

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 🙄

289

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