mirror of https://github.com/01-edu/public.git
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
217 B
16 lines
217 B
![]()
4 years ago
|
#!/bin/sh
|
||
|
|
||
![]()
4 years ago
|
set -o errexit
|
||
|
set -o pipefail
|
||
![]()
4 years ago
|
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
|
||
![]()
4 years ago
|
sh ${EXERCISE}_test.sh
|
||
![]()
4 years ago
|
echo PASS
|