Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ jobs:
- name: Test
run: cargo xtask test

# A bind mount keeps st_dev, so this exercises the mount-ID guard rather
# than only the ordinary cross-device case.
- name: Nested bind-mount deletion regression
run: |
cargo test -p disktree-core --no-run --locked
test_bin=$(find target/debug/deps -maxdepth 1 -type f -name 'disktree_core-*' -perm -111 -print -quit)
test -n "$test_bin"
sudo unshare --mount --propagation private "$test_bin" --ignored nested_bind_mount_preserves_unmarked_files

macos:
name: macOS lint, test, and build
runs-on: macos-15
Expand Down
Loading