summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/process_attach/attach_denied/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move lldb/test to lldb/packages/Python/lldbsuite/test.Zachary Turner2015-10-281-108/+0
| | | | | | | | | | | This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
* Fix TestAttachDenied on linuxPavel Labath2015-09-301-3/+5
| | | | | | | | | | This test was timing out because the test inferior was forking a child, which was not terminated correctly. The test contained provisions to terminate this child, but these were no longer working. The idea was to wake up upon receiving SIGTERM and then kill the child. However, this was failing because the test first tried to use SIGHUP, which ended up killing the inferior. Fix: make sure we catch SIGHUP also. llvm-svn: 248889
* Avoid Linux-specific header in platform-independent testsEd Maste2015-05-141-3/+4
| | | | llvm-svn: 237371
* [TestAttachDenied] Use a file instead of a pipe for synchronization.Siva Chandra2015-05-141-2/+14
| | | | | | | | | | | | | | | | | | | Summary: One cannot use mknod or mkfifo on user Android devices. This commit changes the use of pipe to a file to synchronize between the inferior and the test. Test Plan: dotest.py -P TestAttachDenied Reviewers: ovyalov, chaoren Reviewed By: chaoren Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D9768 llvm-svn: 237328
* Add test for denied process attach by pid and fix found bugs in ↵Oleksiy Vyalov2014-11-191-0/+93
Process/ProcessPOSIX.cpp and FreeBSD/ProcessMonitor. http://reviews.llvm.org/D6240 llvm-svn: 222372
OpenPOWER on IntegriCloud