Re: [PATCH v5] Fix crash in AIX when current working directory is NULL
Ulrich Weigand <[email protected]> Mon, 27 Jul 2026 12:02:20 +0000
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
Aditya Kamath <[email protected]> wrote: >This is the issue. We need to find a way to mimic someone deleting the >cwd from another terminal in one test case. In the .exp file from what >I know we cannot find a way to delete the current working directory >and still start GDB from the deleted directory. Let me know if I am >wrong here. It seems to me this is special enough that there is no particular point in attempting to run this test in remote (or any non-default) scenarios. However, we would still need to prevent the test from being *attempted* in those scenarios. That should be possible by using appropriate "require" lines, in particular require isnative require ![is_remote target] require {istarget *-*-aix*} The last line may be too strict if we also want to test on Linux or other Unix hosts; but we need to ensure the host is at least Unixy enough to support fork. Maybe something like require allow_fork_tests would be OK (given that we also require isnative). Bye, Ulrich