From e2a74e59d97279f9fc7008540e76c43c267d589a Mon Sep 17 00:00:00 2001 From: henry <Henry Weller h.weller@opencfd.co.uk> Date: Mon, 27 Jul 2009 12:32:20 +0100 Subject: [PATCH] Corrected gcc version test. Removed network tests. --- bin/foamInstallationTest | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/bin/foamInstallationTest b/bin/foamInstallationTest index 0175d026f74..eacda19ccea 100755 --- a/bin/foamInstallationTest +++ b/bin/foamInstallationTest @@ -252,7 +252,7 @@ reportExecutable () { ;; gcc) VERSION=`$1 -v 2>&1 \ - | grep 'version' \ + | grep 'gcc version' \ | cut -d" " -f3` if [ ! "$VERSION" = "$SUPPLIED_VERSION_GCC" ]; then echo "WARNING: gcc version does not match gcc supplied" \ @@ -523,32 +523,9 @@ reportExecutable icoFoam "${FOAM_APPBIN}/icoFoam" hline #------------------------------------------------------------------------------ -heading "Checking networking..." -COL1=`fixlen "Action" 25` -COL2=`fixlen "Result" 45` -COL3=`fixlen "Crit" 5` - -hline -echo "$COL1 $COL2 $COL3" +heading "Summary" hline -pingTest "$HOST_NAME" "yes" -pingTest "localHost" "yes" -checkRsh -checkSsh - -if [ $SSHRSHOK -eq 1 ]; then - echo "(*) Only one of rsh or ssh is required by the OpenFOAM enviroment." -elif [ $SSHRSHOK -gt 1 ]; then - echo "FATAL ERROR: No remote shell available." - echo " OpenFOAM ${FOAM_VERSION} enviroment requires either ssh and/or rsh." - echo " Contact your system administrator." - echo "" - FATALERROR=`expr $FATALERROR + 1` -fi -echo "" -hline -echo "" if [ $FATALERROR -gt 0 ] ; then echo "The system test has evoked $FATALERROR fatal error(s)." else -- GitLab