Harmonize DBICTEST_VIA_REPLICATED detection in tests
authorPeter Rabbitson <ribasushi@cpan.org>
Tue, 12 Apr 2016 10:09:03 +0000 (12:09 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Tue, 12 Apr 2016 11:52:38 +0000 (13:52 +0200)
commitde0edd06a26e5a5f90df64777aeba91968f06c93
tree9c84c5b764a1e3c51e6fab8058e8a6333be945b9
parent4b1b44c16347a9f7a404a390983782cc5625e355
Harmonize DBICTEST_VIA_REPLICATED detection in tests

Back in 8b60b9211a I made a number of mistakes implementing the escape
checks: an envvar being set does not mean we are in fact running under
replication (e.g. the user requested explicitly use_file => 0 )

Fix that and also make sure we still run when use_file => 1 (and fix a
forgotten test failing this way)
t/52leaks.t
t/admin/03data.t
t/icdt/engine_specific/sqlite.t
t/lib/DBICTest.pm
t/storage/base.t
t/storage/dbh_do.t
t/storage/error.t