tests: create database with the utf-8 locale
Otherwise tests may fail with wide character errors.
This commit is contained in:
parent
c64c4aac4f
commit
bd99052a6f
|
@ -1,5 +1,5 @@
|
||||||
use strict;
|
use strict;
|
||||||
system("initdb -D postgres") == 0 or die;
|
system("initdb -D postgres --locale C.UTF-8 ") == 0 or die;
|
||||||
system("pg_ctl -D postgres -o \"-F -p 6433 -h '' -k /tmp \" -w start") == 0 or die;
|
system("pg_ctl -D postgres -o \"-F -p 6433 -h '' -k /tmp \" -w start") == 0 or die;
|
||||||
system("createdb -p 6433 hydra-test-suite") == 0 or die;
|
system("createdb -l C.UTF-8 -p 6433 hydra-test-suite") == 0 or die;
|
||||||
system("hydra-init") == 0 or die;
|
system("hydra-init") == 0 or die;
|
||||||
|
|
Loading…
Reference in a new issue