ci: adjust testing check script to 'set -e'

With 'set -e' any failing command will terminate the script but we want
to print a message before exiting. Checking the exit code of a previous
failing command does not work. Print the message in the same command
instead.

Signed-off-by: Sebastian Wick <[email protected]>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7168943..b7fd53b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -59,10 +59,9 @@
   script:
    - |
      for f in ./test/data/*.edid; do
-       grep -q "^$(basename ${f%.edid})\s" ./test/data/README.md
-       [[ $? -ne 0 ]] && echo "$f not in README.md" && exit 1
+       grep -q "^$(basename ${f%.edid})\s" ./test/data/README.md ||
+         (echo "$f not in README.md" && exit 1)
      done
-     exit 0
   rules:
     - when: on_success