mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-27 11:26:48 +00: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::Two->register();
|
||||||
Conf->init();
|
Conf->init();
|
||||||
|
|
||||||
|
# FIXME: allow development debug warnings?!
|
||||||
local $SIG{__WARN__} = sub { die @_; };
|
local $SIG{__WARN__} = sub { die @_; };
|
||||||
|
|
||||||
my sub enum {
|
my sub enum {
|
||||||
|
Loading…
Reference in New Issue
Block a user