altocompta/unit-test/create-dossier-test.sh
2021-03-10 15:09:21 +01:00

10 lines
189 B
Bash
Executable file

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