]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
mg-schema-test-database: Apply updates, regardless of compatibility
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 3 Jul 2017 16:53:26 +0000 (17:53 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 8 May 2018 16:24:15 +0000 (17:24 +0100)
The test database should be just like the real one, even if the schema
compatibility looks wrong.  So pass -ff to mg-schema-update.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
mg-schema-test-database

index 6aeedd1045fdc88bc0f716e0ff37ecccd32c4711..5fe22be10245a098963b65b74c3f1a098effd3d0 100755 (executable)
@@ -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=""