infoalloggi-monorepo/apps/backend/scripts/test.sh

10 lines
177 B
Bash
Raw Normal View History

#!/bin/sh
set -e # Exit on any error
echo "Starting Test..."
if ping -n 1 1.1.1.1; then
echo "Test completed successfully"
else
echo "Failed to Test" >&2
exit 1
fi