[GRASS-SVN] r38176 - grass/branches/develbranch_6/scripts/db.test
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jul 2 16:15:11 EDT 2009
Author: neteler
Date: 2009-07-02 16:15:11 -0400 (Thu, 02 Jul 2009)
New Revision: 38176
Modified:
grass/branches/develbranch_6/scripts/db.test/db.test
grass/branches/develbranch_6/scripts/db.test/test1
Log:
Marco Ciolli: test fixes
Modified: grass/branches/develbranch_6/scripts/db.test/db.test
===================================================================
--- grass/branches/develbranch_6/scripts/db.test/db.test 2009-07-02 19:14:24 UTC (rev 38175)
+++ grass/branches/develbranch_6/scripts/db.test/db.test 2009-07-02 20:15:11 UTC (rev 38176)
@@ -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/develbranch_6/scripts/db.test/test1
===================================================================
--- grass/branches/develbranch_6/scripts/db.test/test1 2009-07-02 19:14:24 UTC (rev 38175)
+++ grass/branches/develbranch_6/scripts/db.test/test1 2009-07-02 20:15:11 UTC (rev 38176)
@@ -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