File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
github-actions-tests/tools Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ mamonsu bootstrap -x -U postgres -d test_db
116116# check
117117check_db_objects mamonsu test_db
118118
119- echo && echo " ------> mamonsu bootstrap -x -U test_superuser"
119+ echo && echo " ------> mamonsu bootstrap -x -U test_superuser -d test_superuser "
120120# prepare
121121pg_drop_user mamonsu
122122pg_drop_database test_db
@@ -125,21 +125,25 @@ pg_drop_database test_superuser
125125$PSQL -c " CREATE USER test_superuser SUPERUSER"
126126$PSQL -c " CREATE DATABASE test_superuser OWNER test_superuser"
127127# test
128- mamonsu bootstrap -x -U test_superuser
128+ mamonsu bootstrap -x -U test_superuser -d test_superuser
129129# check
130130check_db_objects mamonsu test_superuser
131131
132- echo && echo " ------>mamonsu bootstrap -x -U test_superuser -h localhost -p 5432"
132+ echo && echo " ------>mamonsu bootstrap -x -U test_superuser -d test_superuser - h localhost -p 5432"
133133# prepare
134134pg_drop_user mamonsu
135135pg_drop_user test_superuser
136136pg_drop_database test_superuser
137137$PSQL -c " CREATE USER test_superuser SUPERUSER"
138138$PSQL -c " CREATE DATABASE test_superuser OWNER test_superuser"
139139# test
140- mamonsu bootstrap -x -U test_superuser -h localhost -p 5432
140+ mamonsu bootstrap -x -U test_superuser -d test_superuser - h localhost -p 5432
141141# check
142142check_db_objects mamonsu test_superuser
143+ # drop
144+ pg_drop_user mamonsu
145+ pg_drop_user test_superuser
146+ pg_drop_database test_superuser
143147
144148# bootstrap for other tests
145149mamonsu bootstrap -x -U postgres -d mamonsu_test_db
You can’t perform that action at this time.
0 commit comments