summaryrefslogtreecommitdiff
path: root/tests/handler/init.sh
blob: 1ac0b9d40ea91b83ed6e8399db0e1309fdc8ca83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

. ../env.sh

for db in hsrc hdst; do
  echo dropdb $db
  dropdb $db
done

echo createdb hsrc
createdb hsrc --encoding=sql_ascii --template=template0

echo createdb hdst
createdb hdst --encoding=utf-8 --template=template0