#!/bin/bash ERRORS=0 echo "=== Tests du site ===" # Test 1 : le fichier existe if [ -f "index.html" ]; then echo "✅ index.html existe" else echo "❌ index.html introuvable" ERRORS=$((ERRORS + 1)) fi # Test 2 : DOCTYPE présent if grep -q "" index.html; then echo "✅ DOCTYPE présent" else echo "❌ DOCTYPE manquant" ERRORS=$((ERRORS + 1)) fi # Test 3 : balise title if grep -q "