From 5f099640a5e208b8ead15136de9e833688192604 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Tue, 10 Dec 2019 23:07:01 +0100 Subject: [PATCH] What error command is doing here ? --- letsencrypt-auto-source/tests/centos6_tests.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/letsencrypt-auto-source/tests/centos6_tests.sh b/letsencrypt-auto-source/tests/centos6_tests.sh index fcb2431ca..69f2dc5a7 100644 --- a/letsencrypt-auto-source/tests/centos6_tests.sh +++ b/letsencrypt-auto-source/tests/centos6_tests.sh @@ -28,7 +28,7 @@ source /opt/rh/python27/enable python3 --version 2> /dev/null RESULT=$? if [ $RESULT -eq 0 ]; then - error "Python3 is already installed." + echo "Python3 is already installed." exit 1 fi @@ -36,7 +36,7 @@ fi python2.7 --version 2> /dev/null RESULT=$? if [ $RESULT -ne 0 ]; then - error "Python3 is not available." + echo "Python3 is not available." exit 1 fi @@ -47,7 +47,7 @@ fi python3 --version 2> /dev/null RESULT=$? if [ $RESULT -eq 0 ]; then - error "letsencrypt-auto installed Python3 even though Python2.7 is present." + echo "letsencrypt-auto installed Python3 even though Python2.7 is present." exit 1 fi @@ -58,7 +58,7 @@ echo "PASSED: Did not upgrade to Python3 when Python2.7 is present." python2.7 --version 2> /dev/null RESULT=$? if [ $RESULT -eq 0 ]; then - error "Python2.7 is still available." + echo "Python2.7 is still available." exit 1 fi @@ -75,7 +75,7 @@ fi python3 --version > /dev/null RESULT=$? if [ $RESULT -ne 0 ]; then - error "letsencrypt-auto failed to install Python3 when only Python2.6 is present." + echo "letsencrypt-auto failed to install Python3 when only Python2.6 is present." exit 1 fi