#!/bin/bash #xcrypted # Modified: 30/01/2021 # P Anelli" # Session 3 source ${LIBSH}/libeval.sh #----------------------------------------- challenge=C31Q3 rep=/home/alice/Sequence3/imdb #----------------------------------------- # Debut banniere $challenge # 1 env | grep "REVUE" >/dev/null step $(vraifaux $?) "La variable existe" true #2 [ "$REVUE" == $rep -o "$REVUE" == "$rep/" ] step $(vraifaux $?) "Le contenu de la variable est correct " #----------------------------------------- # Fin status "${challenge}_$res" exit 0