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)
Sun, Mar 29, 9:12 PM
Unknown Object (File)
Fri, Mar 27, 4:15 AM
Unknown Object (File)
Wed, Mar 25, 9:26 PM
Unknown Object (File)
Wed, Mar 25, 10:17 AM
Unknown Object (File)
Tue, Mar 24, 3:03 AM
Unknown Object (File)
Thu, Mar 19, 7:38 PM
Unknown Object (File)
Thu, Mar 19, 7:28 AM
Unknown Object (File)
Sun, Mar 15, 9:50 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.