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)
Tue, Nov 11, 1:51 PM
Unknown Object (File)
Sun, Nov 9, 6:04 PM
Unknown Object (File)
Sat, Nov 8, 2:51 PM
Unknown Object (File)
Thu, Nov 6, 1:52 AM
Unknown Object (File)
Wed, Nov 5, 11:59 AM
Unknown Object (File)
Wed, Nov 5, 6:13 AM
Unknown Object (File)
Tue, Nov 4, 3:09 AM
Unknown Object (File)
Mon, Nov 3, 1:33 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.