Commit 27456c3c authored by Jan Kiene's avatar Jan Kiene
Browse files

fix check for empty file

parent dde36765
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -488,8 +488,7 @@ stages:
    - set -euxo pipefail
    - *print-common-info

    - cat $FAILED_TESTCASES_LIST
    - if [ -f "$FAILED_TESTCASES_LIST" ] && [ ! -z "$( ls -A $FAILED_TESTCASES_LIST )" ]; then
    - if [ -s $FAILED_TESTCASES_LIST ]; then
    -   $TEST_SUITE=$(cat $FAILED_TESTCASES_LIST)
    - else
    -   echo "All tested cases were bit-exact between $CI_MERGE_REQUEST_TARGET_BRANCH_NAME and $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME. No need to check for regressions."