From e221c91bd37a3499466a4aa55d9904c37bf02c08 Mon Sep 17 00:00:00 2001 From: Christopher Fremond <34804391+Frenchris@users.noreply.github.com> Date: Mon, 4 Apr 2022 02:17:04 +0100 Subject: [PATCH] Update to-git-or-not-to-git_test.sh Fixing the file empty hack. Howeve this does not fix the whole test yet. The curl still returs a \n. --- sh/tests/to-git-or-not-to-git_test.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sh/tests/to-git-or-not-to-git_test.sh b/sh/tests/to-git-or-not-to-git_test.sh index 2c0af880..438004f4 100755 --- a/sh/tests/to-git-or-not-to-git_test.sh +++ b/sh/tests/to-git-or-not-to-git_test.sh @@ -8,10 +8,6 @@ FILENAME="student/to-git-or-not-to-git.sh" if [ -f ${FILENAME} ]; then if [ -s ${FILENAME} ]; then - submitted=$(bash student/to-git-or-not-to-git.sh) - expected=$(bash solutions/to-git-or-not-to-git.sh) - echo $submitted - echo $expected diff <(echo "$submitted") <(echo "$expected") else echo "The file exist but empty"