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.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
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 () {
'
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