Make it work with non-executable scripts

This commit is contained in:
xpetit 2021-06-30 18:04:16 +02:00
parent 3617a12cb0
commit af2929ad8a
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ set -euo pipefail
IFS='
'
submitted=$(./student/hello.sh)
expected=$(./solutions/hello.sh)
submitted=$(bash student/hello.sh)
expected=$(bash solutions/hello.sh)
diff <(echo "$submitted") <(echo "$expected") | cat -t