[GRASS-SVN] r57813 - grass/trunk/testsuite/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 22 17:40:11 PDT 2013


Author: wenzeslaus
Date: 2013-09-22 17:40:10 -0700 (Sun, 22 Sep 2013)
New Revision: 57813

Modified:
   grass/trunk/testsuite/raster/raster_md5test.sh
   grass/trunk/testsuite/raster/rmapcalc_test.sh
Log:
tests: update r.mapcalc expression syntax for GRASS 7

Modified: grass/trunk/testsuite/raster/raster_md5test.sh
===================================================================
--- grass/trunk/testsuite/raster/raster_md5test.sh	2013-09-22 14:40:29 UTC (rev 57812)
+++ grass/trunk/testsuite/raster/raster_md5test.sh	2013-09-23 00:40:10 UTC (rev 57813)
@@ -111,7 +111,7 @@
 ########### 2D raster INT tests ###########
 VALUE=1
 echo "INT/CELL md5sum test."
-r.mapcalc "$TMPNAME=1"
+r.mapcalc "$TMPNAME = 1"
 check_exit_status $?
 
 echo "MD5 checksum on output of INT/CELL test."
@@ -125,7 +125,7 @@
 ########### 2D raster FCELL tests ###########
 VALUE=1.1
 echo "FLOAT/FCELL md5sum test."
-r.mapcalc "$TMPNAME=$VALUE"
+r.mapcalc "$TMPNAME = $VALUE"
 check_exit_status $?
 
 echo "MD5 checksum on output of FLOAT/FCELL test."

Modified: grass/trunk/testsuite/raster/rmapcalc_test.sh
===================================================================
--- grass/trunk/testsuite/raster/rmapcalc_test.sh	2013-09-22 14:40:29 UTC (rev 57812)
+++ grass/trunk/testsuite/raster/rmapcalc_test.sh	2013-09-23 00:40:10 UTC (rev 57813)
@@ -125,7 +125,7 @@
 ########### 2D raster INT tests ###########
 VALUE=1
 echo "INT/CELL test."
-r.mapcalc "$TMPNAME=1"
+r.mapcalc "$TMPNAME = 1"
 check_exit_status $?
 
 echo "Univariate statistics of INT/CELL test."
@@ -148,7 +148,7 @@
 ########### 2D raster FCELL tests ###########
 VALUE=1.1
 echo "FLOAT/FCELL test."
-r.mapcalc "$TMPNAME=$VALUE"
+r.mapcalc "$TMPNAME = $VALUE"
 check_exit_status $?
 
 echo "Univariate statistics of FLOAT/FCELL test."



More information about the grass-commit mailing list