summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2015-06-29 15:26:45 +0000
committerEd Maste <emaste@freebsd.org>2015-06-29 15:26:45 +0000
commitbcc976a4434787fefdc0a75835f00669c7338db0 (patch)
tree1a72194ec8c3fd8fd2bcf3f53fb7f4c0d288504c
parenta081002bdd954673e15dcd4f6fae8df356d7906e (diff)
downloadbcm5719-llvm-bcc976a4434787fefdc0a75835f00669c7338db0.tar.gz
bcm5719-llvm-bcc976a4434787fefdc0a75835f00669c7338db0.zip
Correct failure decorator in test_fd_leak_multitarget
The random module in Python 2.7.8 and later leaks /dev/[u]random into children. The test is expected to fail, not be flakey. This will be fixed in Python 2.7.10 for some operating systems, but not all e.g. OS X 10.4. llvm.org/pr23983 bugs.freebsd.org/197376 bugs.python.org/issue23458 llvm-svn: 240958
-rw-r--r--lldb/test/functionalities/avoids-fd-leak/TestFdLeak.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/avoids-fd-leak/TestFdLeak.py b/lldb/test/functionalities/avoids-fd-leak/TestFdLeak.py
index 9f254398a53..96480adbfbd 100644
--- a/lldb/test/functionalities/avoids-fd-leak/TestFdLeak.py
+++ b/lldb/test/functionalities/avoids-fd-leak/TestFdLeak.py
@@ -41,7 +41,7 @@ class AvoidsFdLeakTestCase(TestBase):
self.assertTrue(process.GetExitStatus() == 0,
"Process returned non-zero status. Were incorrect file descriptors passed?")
- @expectedFlakey(lambda x: sys.version_info >= (2, 7, 8), "bugs.freebsd.org/197376") # python random leaks fd
+ @expectedFailure(lambda x: sys.version_info >= (2, 7, 8), "bugs.freebsd.org/197376") # python random leaks fd
@expectedFlakeyLinux
@skipIfWindows # The check for descriptor leakage needs to be implemented differently here.
@skipIfTargetAndroid() # Android have some other file descriptors open by the shell
OpenPOWER on IntegriCloud