From af2929ad8a1f5b79908c2b38bba586c539369277 Mon Sep 17 00:00:00 2001 From: xpetit <32063953+xpetit@users.noreply.github.com> Date: Wed, 30 Jun 2021 18:04:16 +0200 Subject: [PATCH] Make it work with non-executable scripts --- sh/tests/introduction_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/tests/introduction_test.sh b/sh/tests/introduction_test.sh index 0266e003..e79dc800 100755 --- a/sh/tests/introduction_test.sh +++ b/sh/tests/introduction_test.sh @@ -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