Add a few fs test cases from otherwise obsoleted PRs #31437

Merged
squeek502 merged 2 commits from squeek502/zig:fs-test-cases into master 2026-03-10 19:39:21 +01:00
Image
Member

Cherry picked from https://github.com/ziglang/zig/pull/20843 and https://github.com/ziglang/zig/pull/21306 and updated for Io changes.

From https://github.com/ziglang/zig/pull/21306#issuecomment-3711769411:

the Lock.none changes were made as part of #30232

From https://github.com/ziglang/zig/pull/20843#issuecomment-3711801741:

this use case was addressed in #25592 with the addition of (what is now called) std.Io.Dir.StatFileOptions.follow_symlinks

Cherry picked from https://github.com/ziglang/zig/pull/20843 and https://github.com/ziglang/zig/pull/21306 and updated for Io changes. From https://github.com/ziglang/zig/pull/21306#issuecomment-3711769411: > the Lock.none changes were made as part of https://codeberg.org/ziglang/zig/pulls/30232 From https://github.com/ziglang/zig/pull/20843#issuecomment-3711801741: > this use case was addressed in [#25592](https://github.com/ziglang/zig/pull/25592) with the addition of (what is now called) std.Io.Dir.StatFileOptions.follow_symlinks
Image Add test for calling statFile on a symlink
All checks were successful
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / x86_64-freebsd-release (pull_request) Successful in 31m6s
ci / x86_64-netbsd-release (pull_request) Successful in 32m10s
ci / aarch64-macos-release (pull_request) Successful in 35m58s
ci / x86_64-freebsd-debug (pull_request) Successful in 41m16s
ci / x86_64-netbsd-debug (pull_request) Successful in 41m14s
ci / x86_64-openbsd-release (pull_request) Successful in 48m41s
ci / x86_64-openbsd-debug (pull_request) Successful in 57m1s
ci / x86_64-windows-release (pull_request) Successful in 1h0m33s
ci / aarch64-macos-debug (pull_request) Successful in 1h1m28s
ci / x86_64-linux-debug (pull_request) Successful in 1h7m12s
ci / x86_64-windows-debug (pull_request) Successful in 1h9m12s
ci / powerpc64le-linux-release (pull_request) Successful in 1h23m16s
ci / s390x-linux-release (pull_request) Successful in 1h28m9s
ci / aarch64-linux-release (pull_request) Successful in 1h30m3s
ci / loongarch64-linux-release (pull_request) Successful in 2h3m32s
ci / aarch64-linux-debug (pull_request) Successful in 2h14m58s
ci / s390x-linux-debug (pull_request) Successful in 2h21m3s
ci / loongarch64-linux-debug (pull_request) Successful in 2h40m9s
ci / x86_64-linux-debug-llvm (pull_request) Successful in 4h18m38s
ci / powerpc64le-linux-debug (pull_request) Successful in 4h37m51s
ci / x86_64-linux-release (pull_request) Successful in 4h41m19s
ci / aarch64-freebsd-release (pull_request) Successful in 3h5m30s
ci / aarch64-netbsd-release (pull_request) Successful in 2h44m48s
ci / aarch64-freebsd-debug (pull_request) Successful in 3h27m27s
ci / aarch64-netbsd-debug (pull_request) Successful in 3h26m18s
a5dd6444c3
Image squeek502 merged commit b80abf0296 into master 2026-03-10 19:39:21 +01:00
Image squeek502 deleted branch fs-test-cases 2026-03-10 19:39:23 +01:00
Sign in to join this conversation.
No reviewers
No labels
abi/f32
abi/ilp32
abi/n32
abi/sf
abi/x32
accepted
arch/1750a
arch/21k
arch/6502
arch/a29k
arch/aarch64
arch/alpha
arch/amdgcn
arch/arc
arch/arc32
arch/arc64
arch/arm
arch/avr
arch/avr32
arch/bfin
arch/bpf
arch/clipper
arch/colossus
arch/cr16
arch/cris
arch/csky
arch/dlx
arch/dsp16xx
arch/elxsi
arch/epiphany
arch/fr30
arch/frv
arch/h8300
arch/h8500
arch/hexagon
arch/hppa
arch/hppa64
arch/i370
arch/i860
arch/i960
arch/ia64
arch/ip2k
arch/kalimba
arch/kvx
arch/lanai
arch/lm32
arch/loongarch32
arch/loongarch64
arch/m32r
arch/m68k
arch/m88k
arch/maxq
arch/mcore
arch/metag
arch/microblaze
arch/mips
arch/mips64
arch/mmix
arch/mn10200
arch/mn10300
arch/moxie
arch/mrisc32
arch/msp430
arch/nds32
arch/nios2
arch/ns32k
arch/nvptx
arch/or1k
arch/pdp10
arch/pdp11
arch/pj
arch/powerpc
arch/powerpc64
arch/propeller
arch/riscv32
arch/riscv64
arch/rl78
arch/rx
arch/s390
arch/s390x
arch/sh
arch/sh64
arch/sparc
arch/sparc64
arch/spirv
arch/spu
arch/st200
arch/starcore
arch/tilegx
arch/tilepro
arch/tricore
arch/ts
arch/ubicom8
arch/v850
arch/vax
arch/vc4
arch/ve
arch/wasm
arch/we32k
arch/x86
arch/x86_64
arch/xcore
arch/xgate
arch/xstormy16
arch/xtensa
autodoc
backend/c
backend/llvm
backend/self-hosted
binutils
breaking
build system
debug info
docs
error message
frontend
fuzzing
incremental
lib/c
lib/compiler-rt
lib/cxx
lib/std
lib/tsan
lib/ubsan-rt
lib/unwind
linking
miscompilation
os/aix
os/android
os/bridgeos
os/contiki
os/dragonfly
os/driverkit
os/emscripten
os/freebsd
os/fuchsia
os/haiku
os/hermit
os/hurd
os/illumos
os/ios
os/kfreebsd
os/linux
os/maccatalyst
os/macos
os/managarm
os/netbsd
os/ohos
os/openbsd
os/plan9
os/redox
os/rtems
os/serenity
os/solaris
os/tvos
os/uefi
os/visionos
os/wali
os/wasi
os/watchos
os/windows
os/zos
proposal
release notes
testing
tier system
zig cc
zig fmt
bounty
bug
contributor-friendly
downstream
enhancement
infra
optimization
question
regression
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ziglang/zig!31437
No description provided.