Page MenuHomeFreeBSD

Add a regression test for r318191
ClosedPublic

Authored by markj on May 11 2017, 5:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 19, 8:00 AM
Unknown Object (File)
Sun, Jan 18, 3:05 PM
Unknown Object (File)
Tue, Jan 13, 5:32 AM
Unknown Object (File)
Fri, Jan 9, 2:17 PM
Unknown Object (File)
Wed, Jan 7, 6:04 AM
Unknown Object (File)
Tue, Dec 23, 4:05 PM
Unknown Object (File)
Dec 18 2025, 9:26 AM
Unknown Object (File)
Dec 18 2025, 6:57 AM
Subscribers

Details

Summary

The test simply attempts to attach to a multi-threaded process in which
threads are blocked on a file lock and thus sleeping in an SBDRY
section.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj retitled this revision from Add a regression test for r318191. to Add a regression test for r318191.May 11 2017, 5:08 PM
markj added reviewers: jhb, badger.
tests/sys/kern/ptrace_test.c
3059 ↗(On Diff #28249)

I think "./ptrace.XXXXXX" would be a better file path. I believe the test framework will clean up the working directory, whereas something in /tmp would be left if the test bails out before unlink()ing.

  • Create the tmpfile in the current directory.
tests/sys/kern/ptrace_test.c
3059 ↗(On Diff #28249)

Thanks, fixed.

This revision is now accepted and ready to land.May 12 2017, 5:40 PM
This revision was automatically updated to reflect the committed changes.