mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-26 17:56:29 +00:00
[regression tests] Use tar mode for dumps rather than -Fc
The tar mode will be more reliable for restore on older systems I hope.
This commit is contained in:
parent
937c212b1a
commit
8afb4676fa
@ -92,7 +92,7 @@ restore_database() {
|
||||
|
||||
TEST="Restore-Database"
|
||||
createdb --owner davical_dba --encoding UTF8 ${DBNAME} >"${RESULTS}/${TEST}" 2>&1
|
||||
pg_restore -Fc -d ${DBNAME} "${REGRESSION}/initial.dbdump" >>"${RESULTS}/${TEST}" 2>&1
|
||||
pg_restore -Ft -d ${DBNAME} "${REGRESSION}/initial.dbdump" >>"${RESULTS}/${TEST}" 2>&1
|
||||
check_result "${TEST}"
|
||||
}
|
||||
|
||||
|
||||
BIN
testing/tests/binding/initial.dbdump
Normal file
BIN
testing/tests/binding/initial.dbdump
Normal file
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user