Refactor test script to use echo for testing success instead of ping

This commit is contained in:
Marco Pedone 2025-08-18 10:29:11 +02:00
parent 24a5749272
commit d4690ed653

View file

@ -2,7 +2,7 @@
set -e # Exit on any error set -e # Exit on any error
echo "Starting Test..." echo "Starting Test..."
if ping -n 1 1.1.1.1; then if echo "TEST"; then
echo "Test completed successfully" echo "Test completed successfully"
else else
echo "Failed to Test" >&2 echo "Failed to Test" >&2