mirror of https://github.com/jetkvm/kvm.git
Update resource/dev_test.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
301556868d
commit
83105af0d3
|
@ -24,9 +24,9 @@ runTest() {
|
|||
|
||||
function exit_with_code() {
|
||||
if [ $EXIT_CODE -ne 0 ]; then
|
||||
echo -e "\e[0;31m❌ Test failed\e[0m"
|
||||
printf "\e[0;31m❌ Test failed\e[0m\n"
|
||||
else
|
||||
echo -e "\e[0;32m✅ All tests passed\e[0m"
|
||||
printf "\e[0;32m✅ All tests passed\e[0m\n"
|
||||
fi
|
||||
|
||||
exit $EXIT_CODE
|
||||
|
|
Loading…
Reference in New Issue