mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-01-03 09:17:36 +03:00
tests: section config: comment need for warn on debugging
as often only warn really makes it out of perl/our pit of std out/err handling (e.g., I had a case where neither print STDERR nor syslog worked, but warn did) also, the tests are rather brittle w.r.t their expect_fail variant, as the actual expected error should be enforced. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ec9e46fae6
commit
8b7b0cc5fe
@ -127,6 +127,7 @@ Conf::One->register();
|
||||
Conf::Two->register();
|
||||
Conf->init();
|
||||
|
||||
# FIXME: allow development debug warnings?!
|
||||
local $SIG{__WARN__} = sub { die @_; };
|
||||
|
||||
my sub enum {
|
||||
|
Loading…
Reference in New Issue
Block a user