mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
Report about dumping the database
This commit is contained in:
parent
d90d85d00e
commit
d5cb124184
@ -163,7 +163,8 @@ dump_database() {
|
|||||||
TEST="Dump-Database"
|
TEST="Dump-Database"
|
||||||
pg_dump -Fp $PSQLOPTS ${DBNAME} \
|
pg_dump -Fp $PSQLOPTS ${DBNAME} \
|
||||||
| grep -v -E '(CREATE\ EXTENSION|COMMENT\ ON)' \
|
| grep -v -E '(CREATE\ EXTENSION|COMMENT\ ON)' \
|
||||||
> "${REGRESSION}/initial.dbdump" 2>&1
|
> "${REGRESSION}/initial.dbdump" 2> "${RESULTS}/${TEST}"
|
||||||
|
check_result "${TEST}"
|
||||||
|
|
||||||
# This is ugly, for the COPY into dav_binding to work on Pg >= 9.6 (possibly earlier)
|
# This is ugly, for the COPY into dav_binding to work on Pg >= 9.6 (possibly earlier)
|
||||||
# we need to ensure that the schema that collection is in is within our search path
|
# we need to ensure that the schema that collection is in is within our search path
|
||||||
|
|||||||
0
testing/tests/binding/Dump-Database.result
Normal file
0
testing/tests/binding/Dump-Database.result
Normal file
0
testing/tests/carddav/Dump-Database.result
Normal file
0
testing/tests/carddav/Dump-Database.result
Normal file
0
testing/tests/scheduling/Dump-Database.result
Normal file
0
testing/tests/scheduling/Dump-Database.result
Normal file
0
testing/tests/timezone/Dump-Database.result
Normal file
0
testing/tests/timezone/Dump-Database.result
Normal file
Loading…
x
Reference in New Issue
Block a user