mirror of https://github.com/01-edu/public.git
Make it work with non-executable scripts
This commit is contained in:
parent
3617a12cb0
commit
af2929ad8a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue