From: František Dvořák Date: Mon, 23 Apr 2012 18:26:05 +0000 (+0000) Subject: Fix certification test on Debian ("new encoding incompatible with the encoding of... X-Git-Tag: glite-lb-doc_R_1_3_4_1~3 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f3251ddecda110c1f72611fffa71cba6bb6b3181;p=jra1mw.git Fix certification test on Debian ("new encoding incompatible with the encoding of the template database"). --- diff --git a/org.glite.lb.harvester/examples/test.sh b/org.glite.lb.harvester/examples/test.sh index 85c417c..ec46899 100755 --- a/org.glite.lb.harvester/examples/test.sh +++ b/org.glite.lb.harvester/examples/test.sh @@ -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"