This will makes it available to a wider subset of the script, which is going to be important in a moment.
No functional change. Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com> Acked-by: Ian Campbell <ian.campb...@citrix.com> --- mg-schema-test-database | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mg-schema-test-database b/mg-schema-test-database index 1226761..a1eb49c 100755 --- a/mg-schema-test-database +++ b/mg-schema-test-database @@ -56,6 +56,12 @@ dbname () { dbname="${maindbname}_test$suffix" t="tmp/testdb$suffix" tcfg=local-config.test-database$suffix + + test_cfg_setting="$(perl -we ' + use Osstest; + print globalconfigfiles() or die $!; + '):$tcfg" + } psql_query_internal () { @@ -254,12 +260,6 @@ END ' mv -f $tcfg.tmp $tcfg - # this makes `withtest' work - test_cfg_setting="$(perl -we ' - use Osstest; - print globalconfigfiles() or die $!; - '):$tcfg" - # Extract the schema for reference $(get_pgdump_cmd) -s -O -x >$t.schema -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel