From 90761f660f0f56a9daec4d7b4a05922f4c81b1e2 Mon Sep 17 00:00:00 2001
From: Henrik Henriksson <henrik.henriksson@liu.se>
Date: Tue, 21 Jan 2020 11:26:50 +0100
Subject: [PATCH] Add comments to test suite

---
 test.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/test.sh b/test.sh
index 48459c2..27118f4 100644
--- a/test.sh
+++ b/test.sh
@@ -1,8 +1,10 @@
 #!/bin/bash
 
-# Ensure proper exit code
-
+# Please don't write a test suite like this...
 
+# Ensure proper exit code
 ./hello || ( echo "Bad return code" && exit 1 )
+
+# Ensure proper output
 [ "$(./hello)" = "Hello World!" ] || ( echo "Wrong printout!: $(./hello)" && exit 1)
   
-- 
GitLab