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, Oct 14, 7:56 AM
Unknown Object (File)
Tue, Oct 14, 7:16 AM
Unknown Object (File)
Tue, Oct 14, 3:48 AM
Unknown Object (File)
Mon, Oct 13, 5:37 PM
Unknown Object (File)
Mon, Oct 13, 1:51 AM
Unknown Object (File)
Sun, Oct 12, 1:09 PM
Unknown Object (File)
Sat, Oct 11, 11:30 PM
Unknown Object (File)
Sat, Oct 11, 9:16 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.