================
@@ -624,3 +625,23 @@ def test_no_lldbinit_flag(self):
 
             # Verify the initCommands were executed
             self.verify_commands("initCommands", output, initCommands)
+
+    def test_stdio_redirection(self):
+        """
+        Test stdio redirection.
+        """
+        temp_file = tempfile.NamedTemporaryFile().name
----------------
walter-erquinigo wrote:

Use this pattern

```
with tempfile.TemporaryFile() as fp:
  ...
```

that way you don't need to unlink the file manually

https://github.com/llvm/llvm-project/pull/158609
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to