Fix false negatives in lean_startup.t
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 20 Jul 2016 10:17:49 +0000 (12:17 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 20 Jul 2016 12:07:06 +0000 (14:07 +0200)
commitcc782be296444e609006f1bf8ea502e6f22a7d8d
tree4154c3d603db5cb859f92fa38e4bf1a450eab78e
parentc8215e2c5a1ae25191d4a7f6bcf7a3a1f89d6970
Fix false negatives in lean_startup.t

Before this commit a 'use Devel::Dwarn' somewhere deep in e.g. ::SQLMaker
would *not* have been detected.

Also fix improperly applied C-ism: the following decidedly does not DTRT

 do 1 while { ... }

I never noticed this being a problem until a fatfingered `>&1` turned into
a `>1`, which in turn created a file named 1 in the current directory with
garbage in it, which *in turn* the `do 1 ...` tried to execute. Sigh...
xt/extra/lean_startup.t