mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
commit
1874926a70
@ -87,12 +87,15 @@ for test_file in $(ls "${KUBE_ROOT}/hack/e2e-suite/"); do
|
||||
echo "${test_file} returned ${result}; passed!"
|
||||
else
|
||||
echo "${test_file} returned ${result}; FAIL!"
|
||||
any_failed=1
|
||||
any_failed=$((any_failed+1))
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${any_failed} -ne 0 ]]; then
|
||||
echo "At least one test failed."
|
||||
echo
|
||||
if [[ ${any_failed} -eq 0 ]]; then
|
||||
echo "Final: All tests passed."
|
||||
else
|
||||
echo "Final: ${any_failed} tests failed."
|
||||
fi
|
||||
|
||||
exit ${any_failed}
|
||||
|
Loading…
Reference in New Issue
Block a user