Author: chaoren
Date: Thu May 28 18:00:10 2015
New Revision: 238522

URL: http://llvm.org/viewvc/llvm-project?rev=238522&view=rev
Log:
Remove warning when testing for timeout command.

Modified:
    lldb/trunk/test/dosep.py

Modified: lldb/trunk/test/dosep.py
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dosep.py?rev=238522&r1=238521&r2=238522&view=diff
==============================================================================
--- lldb/trunk/test/dosep.py (original)
+++ lldb/trunk/test/dosep.py Thu May 28 18:00:10 2015
@@ -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


_______________________________________________
lldb-commits mailing list
lldb-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to