bugfix: read/write fd dropped unexpectedly. #128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: xfstests | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
jobs: | |
xfstests_on_passthrough: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Build passthrough binary | |
run: | | |
cd tests/passthrough | |
cargo build --release | |
sudo install -t /usr/sbin/ -m 700 ./target/release/passthrough | |
- name: Setup and run xfstest | |
run: | | |
cd $GITHUB_WORKSPACE | |
sudo ./tests/scripts/xfstests_pathr.sh | |