Skip to content

chore(tests): drop accidentally committed f27x probe files and sandbox their producers - #763

Merged
caomengxuan666 merged 1 commit into
masterfrom
chore/remove-stray-f27x-probes
Oct 17, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
chore/remove-stray-f27x-probes

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

f276.txt, f276g.txt, f276i.txt, f279.txt were committed by accident: they are probe files that tests/issue276_read_fd0_file_loop_regressions.rs and tests/issue279_read_dup_stdin_regressions.rs create with relative names, and the rubash child's CWD was the repository root when cargo test ran — so every local run re-created them.

This deletes the four files and fixes the producers so they cannot come back: each test now runs its child in a per-invocation temp sandbox (current_dir) and removes it afterwards. Verified:

  • cargo test --test issue276_read_fd0_file_loop_regressions --test issue279_read_dup_stdin_regressions → 3 + 4 passed;
  • after the run, ls f2*.txt in the repo root → nothing (previously four files);
  • cargo fmt --check clean.

Test-only; no source or behaviour change.

… files, sandbox the scripts that create them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant