#!/bin/bash
#xcrypted
# Created: 27/03/2020
# P Anelli"
# Session 3

source ${LIBSH}/libeval.sh

#-----------------------------------------
challenge=C13Q6
rep=~/Sequence1/A13
rep2=~/Sequence1/A13/LettresTrudy
rep3=~/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