mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
change destroydb -> dropdb
This commit is contained in:
parent
3a65e4fca6
commit
ad7424e391
@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# $Header: /cvsroot/pgsql/src/test/mb/mbregress.sh,v 1.5 2000/05/16 02:14:14 tgl Exp $
|
# $Header: /cvsroot/pgsql/src/test/mb/mbregress.sh,v 1.6 2001/02/21 06:02:04 ishii Exp $
|
||||||
|
|
||||||
if echo '\c' | grep -s c >/dev/null 2>&1
|
if echo '\c' | grep -s c >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
@ -14,6 +14,9 @@ if [ ! -d results ];then
|
|||||||
mkdir results
|
mkdir results
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dropdb unitest
|
||||||
|
createdb -E UNICODE unitest
|
||||||
|
|
||||||
PSQL="psql -n -e -q"
|
PSQL="psql -n -e -q"
|
||||||
tests="euc_jp sjis euc_kr euc_cn euc_tw big5 unicode mule_internal"
|
tests="euc_jp sjis euc_kr euc_cn euc_tw big5 unicode mule_internal"
|
||||||
unset PGCLIENTENCODING
|
unset PGCLIENTENCODING
|
||||||
@ -32,7 +35,7 @@ do
|
|||||||
$PSQL euc_tw < sql/big5.sql > results/big5.out 2>&1
|
$PSQL euc_tw < sql/big5.sql > results/big5.out 2>&1
|
||||||
unset PGCLIENTENCODING
|
unset PGCLIENTENCODING
|
||||||
else
|
else
|
||||||
destroydb $i >/dev/null 2>&1
|
dropdb $i >/dev/null 2>&1
|
||||||
createdb -E `echo $i | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` $i >/dev/null
|
createdb -E `echo $i | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` $i >/dev/null
|
||||||
$PSQL $i < sql/${i}.sql > results/${i}.out 2>&1
|
$PSQL $i < sql/${i}.sql > results/${i}.out 2>&1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user