tests: create database with the utf-8 locale

[?]
Jan 21, 2021, 7:42 PM
GGVFNKMOIWVL7HU7S5EZ5CIKSQBMGMYA3QQQTNXZ5HLTUR3ZN42AC

Dependencies

  • [2] 3HRBFWGK tests: change postgresql socket dir to /tmp
  • [3] UQYHPQ6U Run PostgreSQL during "make check"
  • [4] 7VQ4ALFY Update "make check" for the new queue runner

Change contents

  • replacement in tests/set-up.pl at line 2
    [3.2013][3.231:273](),[3.273][2.25:109](),[2.109][3.348:405](),[3.348][3.348:405]()
    system("initdb -D postgres") == 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;
    [3.2013]
    [3.2062]
    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("createdb -l C.UTF-8 -p 6433 hydra-test-suite") == 0 or die;