diff options
author | Wanyi <kusmour@gmail.com> | 2024-10-30 17:00:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 17:00:40 -0400 |
commit | f7c36d2f88e05a1747fa7916ad2fefdd9d459a55 (patch) | |
tree | ee13e7d30e983e03b0455f3307c694e84d43404d /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | bfe486fe764667d514124faf2b39afb7e7322640 (diff) | |
download | llvm-f7c36d2f88e05a1747fa7916ad2fefdd9d459a55.zip llvm-f7c36d2f88e05a1747fa7916ad2fefdd9d459a55.tar.gz llvm-f7c36d2f88e05a1747fa7916ad2fefdd9d459a55.tar.bz2 |
[lldb] Fix API test for file redirection to existing files (#114119)
API test failed for remote platform in
[#112657](https://github.com/llvm/llvm-project/pull/112657)
Previously when putting files onto remote platform, I used `platform
file write -d <data>` which actually required a `platform file open
<path>` first in order to obtain a file descriptor.
eg. in file
[TestGDBRemotePlatformFile.py](https://github.com/llvm/llvm-project/blob/94e7d9c0bfe517507ea08b00fb00c32fb2837a82/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py#L24-L32)
To fix this, use the `platform put-file` method, which is used in the
`redirect_stdin` from this test already.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions