#!/bin/bash # Created: 27/03/2020 # P Anelli" # Session 3 source ${LIBSH}/libeval.sh #----------------------------------------- challenge=C13Q6 rep=/home/alice/Sequence1/A13 rep2=/home/alice/Sequence1/A13/LettresTrudy rep3=/home/alice/Sequence1/A13/LettresBob #----------------------------------------- # Debut banniere $challenge # 1 [ $(pwd) == "$rep" ] step $(vraifaux $?) "Le repertoire courant est $rep" # 2 [ -d $rep2 ] step $(vraifaux $?) "Le repertoire $rep2 existe encore" # 3 [ ! -d $rep3 ] step $(vraifaux $?) "Le repertoire $rep3 n'existe plus" #----------------------------------------- # Fin status "${challenge}_$res" exit 0 # listcode = [ '000', 'b0e', '5a0', '521' ]