diff mbox

[OSSTEST,2/3] schema updates: mg-schema-test-database: Cope with breaking updates

Message ID 1500907304-12791-3-git-send-email-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ian Jackson July 24, 2017, 2:41 p.m. UTC
We need to pass -ff, since we want to replicate the existing database,
regardless of its compatibility properties.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 mg-schema-test-database | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/mg-schema-test-database b/mg-schema-test-database
index 641aadb..9be0625 100755
--- a/mg-schema-test-database
+++ b/mg-schema-test-database
@@ -411,7 +411,7 @@  END
 END
 	withtest ./mg-schema-create -q --no-updates
 
-	withtest ./mg-schema-update -q apply $wantupdates
+	withtest ./mg-schema-update -qff apply $wantupdates
 
         printf " (seqs)"
         seq_alters=""