From 53a8cbbec1a6c9c644b35da86bc26a33ff1279e0 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sat, 19 Jan 2019 17:49:05 +0100 Subject: Add support for spaces in grid name parameters (fixes #1152) --- test/cli/testdatumfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/cli') diff --git a/test/cli/testdatumfile b/test/cli/testdatumfile index 55900427..d048d8e6 100755 --- a/test/cli/testdatumfile +++ b/test/cli/testdatumfile @@ -27,6 +27,9 @@ echo "============================================" echo "Running ${0} using ${EXE}:" echo "============================================" +mkdir "dir with \" space" +cp ${PROJ_LIB}/conus "dir with \" space/myconus" + OUT=td_out #EXE=../src/cs2cs # @@ -46,7 +49,7 @@ EOF echo "##############################################################" >> ${OUT} echo As above, but without ntv1 everything goes through conus file. >> ${OUT} # -$EXE +proj=latlong +ellps=clrk66 +nadgrids=conus \ +$EXE +proj=latlong +ellps=clrk66 '+nadgrids="./dir with "" space/myconus"' \ +to +proj=latlong +datum=NAD83 \ -E >>${OUT} <