name: "Tracing tests" cases: - name: "xtrace-file captures trace output" args: ["--xtrace-file", "trace.txt"] stdin: | echo hello true expected_exit_code: 0 snapshot: true # std::fs::File::try_clone() returns "operation not supported" on # wasm32-wasip2, so brush's OpenFile::clone() falls back to a failing # writer and the trace file ends up empty. Affects all output redirection # under wasi, not just xtrace. incompatible_platforms: ["wasi"]