# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1520933794 -3600 # Tue Mar 13 10:36:34 2018 +0100 # Node ID 8a08f47d4926b957787fc0a5622665d169579213 # Parent 2fd873eae8d1cab0078bf7a3599a210e6d803509 :pencil: remove prompt for password as it breaks CI diff --git a/do_tests b/do_tests --- a/do_tests +++ b/do_tests @@ -67,9 +67,9 @@ INSTALL_ARGUMENTS="--log-level=${INSTALL_LOG_LEVEL:-warn}" echo ${YELLOW}INFO ${RESET} - Drop any existing database "$dbname" -dropdb $PG_HOST $PG_USER --if-exists $dbname +dropdb $PG_HOST $PG_USER --if-exists $dbname --no-password echo ${YELLOW}INFO ${RESET} - Create database "$dbname" with owner $dbowner -createdb $PG_HOST $PG_USER -O $dbowner $dbname || { echo ${RED}FATAL${RESET} - Cannot create test database ; exit 1; } +createdb $PG_HOST $PG_USER -O $dbowner $dbname --no-password || { echo ${RED}FATAL${RESET} - Cannot create test database ; exit 1; } unaccent=$(python -B -c "import ConfigParser ; c = ConfigParser.ConfigParser() ; c.read('${project_home}/conf/dev/odoo.conf') ; print c.get('options', 'unaccent', False)") if [[ "$unaccent" == "True" ]]; then