[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: When packaging a library, should I prevent its test suite from being packaged



Hi,

Konstantin Khomoutov:
> have discovered the tests attempt to connect to a MySQL instance on
> the localhost, and authenticate there as the user "root" using no
> password.

I would file an Upstream bug for this. They should use a "test" user with a
"test_PACKAGENAME" database, and make the mysql credentials overrideable
(via environment or whatever).

Requiring (a) root (b) without a password (c) on localhost (presumably) is
a bad idea on all three counts.

-- 
-- Matthias Urlichs


Reply to: