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)
Wed, Oct 14, 12:22 AM
Unknown Object (File)
Mon, Oct 12, 11:04 PM
Unknown Object (File)
Fri, Oct 9, 4:37 PM
Unknown Object (File)
Thu, Oct 8, 7:15 PM
Unknown Object (File)
Thu, Oct 8, 3:44 AM
Unknown Object (File)
Thu, Oct 8, 12:51 AM
Unknown Object (File)
Wed, Oct 7, 9:53 PM
Unknown Object (File)
Fri, Sep 18, 1:11 PM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9226
Build 9675: arc lint + arc unit

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

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

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.