From: Chaoren Lin Date: Thu, 28 May 2015 23:00:10 +0000 (+0000) Subject: Remove warning when testing for timeout command. X-Git-Tag: llvmorg-3.7.0-rc1~3514 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45c17ff6c234b202d68d0abc500f6b283c2c1130;p=platform%2Fupstream%2Fllvm.git Remove warning when testing for timeout command. llvm-svn: 238522 --- diff --git a/lldb/test/dosep.py b/lldb/test/dosep.py index b8a017e..dedc609 100755 --- a/lldb/test/dosep.py +++ b/lldb/test/dosep.py @@ -48,12 +48,12 @@ def get_timeout_command(): if sys.platform.startswith("win32"): return None try: - subprocess.call("timeout") + subprocess.call("timeout", stderr=subprocess.PIPE) return "timeout" except OSError: pass try: - subprocess.call("gtimeout") + subprocess.call("gtimeout", stderr=subprocess.PIPE) return "gtimeout" except OSError: pass