[GRASS-SVN] r38177 - grass/branches/releasebranch_6_4/scripts/db.test

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 2 16:15:23 EDT 2009


Author: neteler
Date: 2009-07-02 16:15:23 -0400 (Thu, 02 Jul 2009)
New Revision: 38177

Modified:
   grass/branches/releasebranch_6_4/scripts/db.test/db.test
   grass/branches/releasebranch_6_4/scripts/db.test/test1
Log:
Marco Ciolli: test fixes

Modified: grass/branches/releasebranch_6_4/scripts/db.test/db.test
===================================================================
--- grass/branches/releasebranch_6_4/scripts/db.test/db.test	2009-07-02 20:15:11 UTC (rev 38176)
+++ grass/branches/releasebranch_6_4/scripts/db.test/db.test	2009-07-02 20:15:23 UTC (rev 38177)
@@ -48,7 +48,7 @@
 
     cat /dev/null > "$expected"
 
-    if [ $TYPE = "X" ]
+    if [ "$TYPE" = "X" ]
     then
         echo "$SQL" | db.execute
     else
@@ -71,7 +71,7 @@
 	echo $RES >> "$expected"
     done
 
-    if [ $TYPE = "S" ]
+    if [ "$TYPE" = "S" ]
     then
 	diff "$result" "$expected"
 

Modified: grass/branches/releasebranch_6_4/scripts/db.test/test1
===================================================================
--- grass/branches/releasebranch_6_4/scripts/db.test/test1	2009-07-02 20:15:11 UTC (rev 38176)
+++ grass/branches/releasebranch_6_4/scripts/db.test/test1	2009-07-02 20:15:23 UTC (rev 38177)
@@ -9,7 +9,7 @@
 
 S
 select * from grass_test1
-1|123.456000|abcd
+1|123.456|abcd
 2||xxx
 
 S
@@ -27,10 +27,11 @@
 
 S
 select * from grass_test1
-1|123.456000|abcd|
-2|18.600000|xxx|987
-3|0.000000|_\'_|
+1|123.456|abcd|
+2|18.6|xxx|987
+3|0|_\'_|
 
 X
 drop table grass_test1
 
+



More information about the grass-commit mailing list