Drop redundant || exit 1

This commit is contained in:
E 2025-10-11 17:45:10 +09:00 committed by GitHub
parent eb4ce0867f
commit c3e3847e62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1210,7 +1210,7 @@ jobs:
for f in $(util/show-utils.sh ${CARGO_FEATURES_OPTION})
do
echo "Building and testing $f"
cargo test -p "uu_$f" || exit 1
cargo test -p "uu_$f"
done
test_all_features:
@ -1300,11 +1300,11 @@ jobs:
shell: bash
run: |
if [ "${{ runner.os }}" = "Windows" ]; then
test -f target/debug/chcon.exe || exit 1
test -f target/debug/runcon.exe || exit 1
test -f target/debug/chcon.exe
test -f target/debug/runcon.exe
else
test -f target/debug/chcon || exit 1
test -f target/debug/runcon || exit 1
test -f target/debug/chcon
test -f target/debug/runcon
fi
- name: Verify workspace builds with stubs
run: cargo build --features ${{ matrix.job.features }}