Skip to content

Fix mv consistency and run bash comparisons in CI#16

Merged
davydog187 merged 6 commits intomainfrom
fix/mv-consistency-and-ci
Feb 13, 2026
Merged

Fix mv consistency and run bash comparisons in CI#16
davydog187 merged 6 commits intomainfrom
fix/mv-consistency-and-ci

Conversation

@ivarvong
Copy link
Collaborator

What changed

  • Make mv use filesystem-level move so it preserves metadata (mode) and handles directories/symlinks.
  • Treat mv src dest/ as moving into the directory (basename join).
  • Prevent crashes when moving a directory onto an existing file (return an error instead).
  • Add new mv coverage, including bash-comparison tests.

CI

  • Add a Linux-only job that runs mix test --only bash_comparison so bash-comparison coverage is enforced in CI.

Test plan

  • mix compile --warnings-as-errors
  • mix test --exclude bash_comparison
  • mix test --only bash_comparison (runs in CI on Linux)

@davydog187 davydog187 merged commit 41ef72d into main Feb 13, 2026
3 checks passed
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.

2 participants