From e11ad0028ce34b6b9420002a8fc37973e8040d98 Mon Sep 17 00:00:00 2001
From: Lubomir Bucek <lubomir.bucek@eox.at>
Date: Fri, 23 Oct 2020 09:49:59 +0200
Subject: [PATCH] testing test fail (modified runner env to fail)

---
 testing/registrar_test.sh | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/testing/registrar_test.sh b/testing/registrar_test.sh
index 3c26bc87..220be72b 100755
--- a/testing/registrar_test.sh
+++ b/testing/registrar_test.sh
@@ -13,4 +13,13 @@ while read product; do
 
 done < "$product_list_file"
 
-pytest #-s registrar_test.py --name $product_list_file
+pytest
+
+if [ $? -eq 0 ]
+then
+  echo "Pytest succeded"
+  exit 0
+else
+  echo "Pytest failed" >&2
+  exit 1
+fi
\ No newline at end of file
-- 
GitLab