mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +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!"
|
echo "${test_file} returned ${result}; passed!"
|
||||||
else
|
else
|
||||||
echo "${test_file} returned ${result}; FAIL!"
|
echo "${test_file} returned ${result}; FAIL!"
|
||||||
any_failed=1
|
any_failed=$((any_failed+1))
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ ${any_failed} -ne 0 ]]; then
|
echo
|
||||||
echo "At least one test failed."
|
if [[ ${any_failed} -eq 0 ]]; then
|
||||||
|
echo "Final: All tests passed."
|
||||||
|
else
|
||||||
|
echo "Final: ${any_failed} tests failed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit ${any_failed}
|
exit ${any_failed}
|
||||||
|
Loading…
Reference in New Issue
Block a user