From 45c17ff6c234b202d68d0abc500f6b283c2c1130 Mon Sep 17 00:00:00 2001 From: Chaoren Lin Date: Thu, 28 May 2015 23:00:10 +0000 Subject: [PATCH] Remove warning when testing for timeout command. llvm-svn: 238522 --- lldb/test/dosep.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.7.4