hanchenye-llvm-project/lldb/test
Pavel Labath 97a9ac1982 Avoid leaking log file descriptors into the inferior process.
Summary:
This commit adds a new open flag File::eOpenOptionCloseOnExec (i.e., O_CLOEXEC), and adds it to
the list of flags when opening log files (#ifndef windows). A regression test is included.

Reviewers: vharron, clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D7412

llvm-svn: 228310
2015-02-05 16:44:42 +00:00
..
api Make OSX test run firewall friendly. 2015-01-22 20:03:21 +00:00
arm_emulation Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
attic
benchmarks Add a benchmark test case that shows how much slower repeat 'continue' commands are than going through the SB API directly 2015-01-22 19:33:53 +00:00
driver/batch_mode XFAIL pexpect tests on Windows. 2015-01-20 22:36:03 +00:00
example
expression_command Move several GetByteSize() calls over to the brave new world of taking an ExecutionContext* 2015-01-28 01:09:45 +00:00
functionalities Avoid leaking log file descriptors into the inferior process. 2015-02-05 16:44:42 +00:00
help Fix help test cases after r226068 2015-01-20 15:13:01 +00:00
lang Adapt test for tid format on non-Darwin platforms 2015-01-30 16:45:24 +00:00
linux/builtin_trap Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
logging I changed the logging test to just test that logging doesn't crash and does produce output. That's 2014-03-19 23:55:54 +00:00
macosx Remove shell-globbing from all test makefiles. 2014-07-31 21:03:11 +00:00
make Clean up dependency .d.$$$$ files for tests 2015-02-05 09:52:42 +00:00
pexpect-2.4 Eliminate kernel warning when running tests on FreeBSD 2014-02-18 21:33:10 +00:00
plugins Make the test runner understand Windows command shell execution. 2014-07-22 16:19:29 +00:00
python_api Fix TestTargetAPI.py when run against remote host. 2015-02-04 19:25:21 +00:00
settings Get rid of Debugger::FormatPrompt() and replace it with the new FormatEntity class. 2015-02-04 22:00:53 +00:00
source-manager During source manager test, write back the file using binary mode. 2015-01-15 22:53:44 +00:00
terminal XFAIL pexpect tests on Windows. 2015-01-20 22:36:03 +00:00
tools Add and update lldb-mi tests. 2015-02-05 10:35:17 +00:00
types Get test/types tests passing on remote targets 2015-02-04 22:25:34 +00:00
unittest2 Added a simple legend to the unit test 'dots' output, to aid understandability. 2013-09-25 20:47:51 +00:00
warnings/uuid Fixes a number of issue related to test portability on Windows. 2014-07-18 01:02:02 +00:00
.categories
CMakeLists.txt Add a method to disable the Windows crash / assert dialogs. 2014-12-12 18:10:52 +00:00
Makefile Rename dosep.ty to dosep.py 2014-07-21 16:16:31 +00:00
README-TestSuite Fix typos. 2014-07-01 21:22:11 +00:00
argparse_compat.py
bench-history
bench.py
blacklist.py
crashinfo.c Alignment fix 2014-01-08 03:14:18 +00:00
dosep.py Avoid leakage of file descriptors in LLDB and LLGS 2015-02-04 10:36:57 +00:00
dotest.py test: Add workaround for FreeBSD libedit vs readline issue 2015-01-14 20:32:33 +00:00
lldbbench.py
lldbinline.py [InlineTest] getRerunArgs returns an empty string if the test was skipped. 2015-01-09 01:54:44 +00:00
lldbpexpect.py Add an expectall() API that allows you to pass a list of patterns and have pexpect match *ALL* of them instead of just picking one 2015-02-03 03:11:59 +00:00
lldbtest.py Extend SBPlatform with capability to launch/terminate a process remotely. Integrate this change into test framework in order to spawn processes on a remote target. 2015-02-04 23:19:15 +00:00
lldbutil.py Print the new eStopReasonExec in stop_reason_to_str. 2014-04-03 01:25:28 +00:00
progress.py
redo.py