altocompta/unit-test/create-dossier-test.sh

10 lines
189 B
Bash
Executable file

#!/bin/bash
export PGCLUSTER=10/main
DOSSIER_TEST=rel70dossier25
FILE_TEST=dossiertest210517-1111.sql
dropdb $DOSSIER_TEST
createdb $DOSSIER_TEST
psql -X $DOSSIER_TEST < db/$FILE_TEST