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

Oleksiy Vyalov ovyalov at google.com
Thu Feb 19 14:05:43 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())))
----------------
vharron wrote:
> 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.
OK, makes sense - let me get to this once I'll setup Windows station.

http://reviews.llvm.org/D7659

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






More information about the lldb-commits mailing list