From f24f2b478896faa4b50a3bfee8e6ae73fd8e7ce0 Mon Sep 17 00:00:00 2001
From: Julien Leduc <julien.leduc@cern.ch>
Date: Fri, 5 Oct 2018 15:00:53 +0200
Subject: [PATCH] fix logic issue

---
 .../docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
index b2cbc560e4..a8a423d8e9 100755
--- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
+++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
@@ -203,7 +203,7 @@ fi
   done
   echo OK
   failed_xrdcp_test=$i
-  if test $failed_xrdcp_test -ne 0; then
+  if test $failed_xrdcp_test -eq 0; then
     echo "[SUCCESS]: basic file transfer test on online/booted FS." | tee -a /var/log/CI_tests
   else
     echo "[ERROR]: basic file transfer test on online/booted FS (${failed_xrdcp_test} attempts)." | tee -a /var/log/CI_tests
-- 
GitLab