[Lldb-commits] [PATCH] Fix TestAttachDenied.py remote execution on Linux.

Vince Harron vharron at google.com
Thu Feb 19 10:18:25 PST 2015


================
Comment at: test/functionalities/process_attach/attach_denied/TestAttachDenied.py:31
@@ -28,3 +30,3 @@
         # Use named pipe as a synchronization point between test and inferior.
-        pid_pipe_path = os.path.join(temp_dir, "pid_pipe")
-        os.mkfifo(pid_pipe_path)
+        pid_pipe_path = os.path.join(self.get_process_working_directory(),
+                                     "pid_pipe_%d" % (int(time.time())))
----------------
We want to be able to run this test from Windows against remote targets that support cat/mkfifo/rm.  We need a new test decorator skipIfWindowsTarget (meaning Windows host is okay).  Doesn't need to be in this CL.

http://reviews.llvm.org/D7659

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list