[GRASS-SVN] r71395 - grass/trunk/temporal/t.register
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 11 15:20:47 PDT 2017
Author: zarch
Date: 2017-08-11 15:20:47 -0700 (Fri, 11 Aug 2017)
New Revision: 71395
Modified:
grass/trunk/temporal/t.register/test.t.register.raster.sh
Log:
Add test with different locale and containing special characters
Modified: grass/trunk/temporal/t.register/test.t.register.raster.sh
===================================================================
--- grass/trunk/temporal/t.register/test.t.register.raster.sh 2017-08-11 22:18:29 UTC (rev 71394)
+++ grass/trunk/temporal/t.register/test.t.register.raster.sh 2017-08-11 22:20:47 UTC (rev 71395)
@@ -98,6 +98,27 @@
# Increment format error
t.register -i input=precip_abs7 maps=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 start="2001-01-01" increment="months"
+# Check UnicodeDecodeError
+LANG=fr_BE \
+LANGUAGE=fr_BE \
+LC_CTYPE=fr_BE.UTF-8 \
+LC_NUMERIC=C \
+LC_TIME=fr_BE.UTF-8 \
+LC_COLLATE=fr_BE.UTF-8 \
+LC_MONETARY=fr_BE.UTF-8 \
+LC_MESSAGES=fr_BE.UTF-8 \
+LC_PAPER=fr_BE.UTF-8 \
+LC_NAME=fr_BE.UTF-8 \
+LC_ADDRESS=fr_BE.UTF-8 \
+LC_TELEPHONE=fr_BE.UTF-8 \
+LC_MEASUREMENT=fr_BE.UTF-8 \
+LC_IDENTIFICATION=fr_BE.UTF-8 \
+LC_ALL="" \
+t.create output=pluies_nc semantictype=sum title=precipitation_mois description="Précipitation totale mensuelle NC" --o
+t.register -i input=pluies_nc type=raster start=2000-01-01 increment="1 months" maps=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 --o
+t.info pluies_nc
+t.topology pluies_nc
+t.remove -f pluies_nc
t.unregister type=raster maps=prec_1,prec_2,prec_3
# Test the warning message
More information about the grass-commit
mailing list