comparison schema/run_tests.sh @ 185:a9d9c2b1d08c

Add database function to create role and user profile
author Tom Gottfried <tom@intevation.de>
date Thu, 19 Jul 2018 16:37:52 +0200
parents f3a09fc9c1eb
children b67208d82543
comparison
equal deleted inserted replaced
184:bc7829defa99 185:a9d9c2b1d08c
2 2
3 dropdb --if-exists gemma_test 3 dropdb --if-exists gemma_test
4 createdb gemma_test 4 createdb gemma_test
5 psql -qv ON_ERROR_STOP= -c 'CREATE EXTENSION pgtap' -d gemma_test 5 psql -qv ON_ERROR_STOP= -c 'CREATE EXTENSION pgtap' -d gemma_test
6 6
7 psql -qv ON_ERROR_STOP= -f gemma.sql -d gemma_test 7 psql -qv ON_ERROR_STOP= -d gemma_test \
8 psql -qv ON_ERROR_STOP= -f auth.sql -d gemma_test 8 -f gemma.sql \
9 -f auth.sql \
10 -f manage_users.sql
9 11
10 psql -qv ON_ERROR_STOP= -f tap_tests_data.sql -d gemma_test 12 psql -qv ON_ERROR_STOP= -f tap_tests_data.sql -d gemma_test
11 13
12 psql -Xf auth_tests.sql -d gemma_test 14 psql -Xf auth_tests.sql -d gemma_test
15 psql -Xf manage_users_tests.sql -d gemma_test