Fix certification test on Debian ("new encoding incompatible with the encoding of...
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 23 Apr 2012 18:26:05 +0000 (18:26 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 23 Apr 2012 18:26:05 +0000 (18:26 +0000)
org.glite.lb.harvester/examples/test.sh

index 85c417c..ec46899 100755 (executable)
@@ -198,7 +198,7 @@ EOF
                echo -n "."
 #              createuser $PG_ARGS -A -D "$RTM_NAME" >/dev/null 2>&1
 #              echo -n "."
-               createdb $PG_ARGS --encoding "UTF-8" --owner "$RTM_USER" "$RTM_NAME" >psql-create.log 2>&1 || return $?
+               createdb $PG_ARGS --encoding "UTF-8" --template template0 --owner "$RTM_USER" "$RTM_NAME" >psql-create.log 2>&1 || return $?
                rm psql-create.log
                echo -n "."
                rtm_db_created="1"