From 36a196da1df5d69278422f6954fd1d4315d553b3 Mon Sep 17 00:00:00 2001 From: Marjan Schiller Date: Fri, 3 May 2013 13:31:40 +0200 Subject: [PATCH] Fixed boolean comparison. --- liveboot_gw_autotest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liveboot_gw_autotest.sh b/liveboot_gw_autotest.sh index bfbf451..61c7bc2 100755 --- a/liveboot_gw_autotest.sh +++ b/liveboot_gw_autotest.sh @@ -71,7 +71,7 @@ ssh -t $CORE_ROUTER "cd /opt/autotest ; git checkout ${AUTOTEST_BRANCH}" # call autotest suite w/ testlink connector info ssh -t -A $CORE_ROUTER "cd /opt/autotest ; ./compile.sh" -if [ ${REPORT_TO_TESTLINK} -eq 0 ]; then +if [ ${REPORT_TO_TESTLINK} == "true" ]; then echo "Report Results to TestLink..." ssh -t -A $CORE_ROUTER "cd /opt/autotest ; java -ea -jar dist/lib/AutoTest.jar --testlink='Profitbricks,R&I Liveboot Approval Autotest,liveboot-${LIVEBOOT_BUILD_NUMBER},R&I HW Test Bed'" else -- 2.39.5