Pat Tullmann d0e288ab18 lib/std/posix/test.zig: enable disabled tests using CWD
Four tests in lib/std/posix/test.zig were disabled because they created
fixed-name files in the current working directory, and this caused
problems if tests were running in parallel with other build's tests.

This PR fixes those tests to all use `std.testing.tmpDir` to create unique
temporary names and directories.

Also clean the tests up to more consistently use `defer` to clean up, or
to just rely on tmpDir cleanup to remove individual files.

Working on these tests revealed a bunch of stale WASI code paths in
posix.zig, fixed by replacing stale `wast.AT.FDCWD` references with just
`AT.FDCWD`.

Fixes #14968.
2025-02-20 08:44:09 +01:00
..
2024-12-19 17:10:03 -05:00
2025-02-18 09:47:44 -05:00
2024-07-23 11:43:12 -07:00
2024-07-09 14:25:42 -07:00
2025-02-05 13:58:15 +01:00
2024-08-22 08:44:08 +02:00
2025-02-17 19:17:55 +01:00
2025-02-06 14:23:23 -08:00
2025-02-18 18:07:31 +03:30
2024-08-07 00:48:32 -07:00
2024-07-31 16:57:42 -07:00
2025-02-16 01:02:33 +01:00
2025-01-16 20:42:08 -05:00
2024-08-29 23:43:52 +01:00
2025-02-06 14:23:23 -08:00
2025-01-16 20:42:08 -05:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-03 09:14:37 +00:00