You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
236 B

#!/bin/sh
# Unofficial Bash Strict Mode
set -euo pipefail
IFS='
'
cp -rT /app /jail
cd /jail
if ! test -f ${EXERCISE}_test.sh; then
echo No test file found for the exercise : "$EXERCISE"
exit 1
fi
bash ${EXERCISE}_test.sh
echo PASS