From d5cb124184ec8f1dac43a154b3ab58f23917480a Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Tue, 28 Jun 2022 23:03:22 +1200 Subject: [PATCH] Report about dumping the database --- testing/run_regressions.sh | 3 ++- testing/tests/binding/Dump-Database.result | 0 testing/tests/carddav/Dump-Database.result | 0 testing/tests/scheduling/Dump-Database.result | 0 testing/tests/timezone/Dump-Database.result | 0 5 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 testing/tests/binding/Dump-Database.result create mode 100644 testing/tests/carddav/Dump-Database.result create mode 100644 testing/tests/scheduling/Dump-Database.result create mode 100644 testing/tests/timezone/Dump-Database.result diff --git a/testing/run_regressions.sh b/testing/run_regressions.sh index 36a7c647..ff550eb4 100755 --- a/testing/run_regressions.sh +++ b/testing/run_regressions.sh @@ -163,7 +163,8 @@ dump_database() { TEST="Dump-Database" pg_dump -Fp $PSQLOPTS ${DBNAME} \ | 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) # we need to ensure that the schema that collection is in is within our search path diff --git a/testing/tests/binding/Dump-Database.result b/testing/tests/binding/Dump-Database.result new file mode 100644 index 00000000..e69de29b diff --git a/testing/tests/carddav/Dump-Database.result b/testing/tests/carddav/Dump-Database.result new file mode 100644 index 00000000..e69de29b diff --git a/testing/tests/scheduling/Dump-Database.result b/testing/tests/scheduling/Dump-Database.result new file mode 100644 index 00000000..e69de29b diff --git a/testing/tests/timezone/Dump-Database.result b/testing/tests/timezone/Dump-Database.result new file mode 100644 index 00000000..e69de29b