Merge pull request #8881 from oech3/rm-exit1

Drop redundant || exit 1
This commit is contained in:
Sylvestre Ledru
2025-10-11 11:12:21 +02:00
committed by GitHub
+5 -5
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 }}