fix: correct line endings, paths, and syntax in all lab01 test scripts

This commit is contained in:
Luca Sacchi Ricciardi
2026-04-09 12:27:57 +02:00
parent 19fdb650ad
commit b3b9c10d68
2 changed files with 11 additions and 5 deletions
@@ -5,6 +5,9 @@
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
@@ -49,7 +52,7 @@ echo ""
# Test 3: Non-root container execution (INF-01)
echo -e "${BLUE}[3/3] Checking non-root container execution (INF-01)...${NC}"
cd labs/lab-01-iam
cd "$PROJECT_ROOT/labs/lab-01-iam"
compose_file="docker-compose.yml"
if [ ! -f "$compose_file" ]; then
echo -e " ${YELLOW}${NC} docker-compose.yml not found"