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)
Feb 29 2024, 3:18 AM
Unknown Object (File)
Feb 8 2024, 10:44 AM
Unknown Object (File)
Jan 14 2024, 7:21 PM
Unknown Object (File)
Jan 9 2024, 3:47 AM
Unknown Object (File)
Dec 20 2023, 1:30 AM
Unknown Object (File)
Nov 21 2023, 5:04 PM
Unknown Object (File)
Oct 21 2023, 4:53 PM
Unknown Object (File)
Oct 18 2023, 9:20 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9208
Build 9655: 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.