8000 linkerd2/bin/tests at main · jojinkb/linkerd2 · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
29 lines (23 loc) · 641 Bytes

tests

File metadata and controls

executable file
·
29 lines (23 loc) · 641 Bytes
#!/usr/bin/env bash
bindir=$( cd "${BASH_SOURCE[0]%/*}" && pwd )
# shellcheck source=_test-helpers.sh
. "$bindir"/_test-helpers.sh
handle_tests_input "$@"
if [ "$test_name" ]; then
start_test "$test_name"
else
echo '==================RUNNING ALL TESTS==================
Note: cluster-domain, cni-calico-deep and multicluster require a specific cluster configuration and are skipped by default
'
for test_name in "${default_test_names[@]}"; do
start_test "$test_name"
done
if [ $exit_code -eq 0 ]; then
echo '
=== PASS: all tests passed'
else
echo '
=== FAIL: at least one test failed'
fi
exit $exit_code
fi
0