Browse Source

tests: update r.mapcalc expression syntax for GRASS 7

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57813 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 11 years ago
parent
commit
eb895d0eff
2 changed files with 4 additions and 4 deletions
  1. 2 2
      testsuite/raster/raster_md5test.sh
  2. 2 2
      testsuite/raster/rmapcalc_test.sh

+ 2 - 2
testsuite/raster/raster_md5test.sh

@@ -111,7 +111,7 @@ check_exit_status $?
 ########### 2D raster INT tests ###########
 ########### 2D raster INT tests ###########
 VALUE=1
 VALUE=1
 echo "INT/CELL md5sum test."
 echo "INT/CELL md5sum test."
-r.mapcalc "$TMPNAME=1"
+r.mapcalc "$TMPNAME = 1"
 check_exit_status $?
 check_exit_status $?
 
 
 echo "MD5 checksum on output of INT/CELL test."
 echo "MD5 checksum on output of INT/CELL test."
@@ -125,7 +125,7 @@ echo "##################################"
 ########### 2D raster FCELL tests ###########
 ########### 2D raster FCELL tests ###########
 VALUE=1.1
 VALUE=1.1
 echo "FLOAT/FCELL md5sum test."
 echo "FLOAT/FCELL md5sum test."
-r.mapcalc "$TMPNAME=$VALUE"
+r.mapcalc "$TMPNAME = $VALUE"
 check_exit_status $?
 check_exit_status $?
 
 
 echo "MD5 checksum on output of FLOAT/FCELL test."
 echo "MD5 checksum on output of FLOAT/FCELL test."

+ 2 - 2
testsuite/raster/rmapcalc_test.sh

@@ -125,7 +125,7 @@ check_exit_status $?
 ########### 2D raster INT tests ###########
 ########### 2D raster INT tests ###########
 VALUE=1
 VALUE=1
 echo "INT/CELL test."
 echo "INT/CELL test."
-r.mapcalc "$TMPNAME=1"
+r.mapcalc "$TMPNAME = 1"
 check_exit_status $?
 check_exit_status $?
 
 
 echo "Univariate statistics of INT/CELL test."
 echo "Univariate statistics of INT/CELL test."
@@ -148,7 +148,7 @@ echo "##################################"
 ########### 2D raster FCELL tests ###########
 ########### 2D raster FCELL tests ###########
 VALUE=1.1
 VALUE=1.1
 echo "FLOAT/FCELL test."
 echo "FLOAT/FCELL test."
-r.mapcalc "$TMPNAME=$VALUE"
+r.mapcalc "$TMPNAME = $VALUE"
 check_exit_status $?
 check_exit_status $?
 
 
 echo "Univariate statistics of FLOAT/FCELL test."
 echo "Univariate statistics of FLOAT/FCELL test."