From d7e036e662e5294580602c1822a7ebe53706a27b Mon Sep 17 00:00:00 2001
From: Kenneth R Hancock <krhancoc@uwaterloo.ca>
Date: Sat, 15 Jan 2022 11:16:49 -0700
Subject: [PATCH] Combine test and evaluate

---
 os161-container/helpers.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/os161-container/helpers.sh b/os161-container/helpers.sh
index 2bf6f9e..ecf3174 100755
--- a/os161-container/helpers.sh
+++ b/os161-container/helpers.sh
@@ -65,7 +65,7 @@ test_kernel() {
 	echo "[CS350] Tests $1"
 	echo "============="
 	# Run public tests - step 4
-	for f in /assignments/$1/public*
+	for f in /assignments/$1/public
 	do
 		LOG=$LOGS/test_`basename $f`.log
 		TOTAL=$(wc -l < $f)
@@ -80,7 +80,8 @@ test_kernel() {
 			echo "[CS350] Running Tests [$DONE/$TOTAL]"
 		done
 	done
-	cd -
+	cd - > /dev/null
+	/evalaute $LOGS/test_public.log /assignments/$1
 }
 
 
-- 
GitLab