From f06cafcfbced1af4978fbaf7f74f9c4f8045e0c5 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 14 Oct 2025 20:51:37 +0200 Subject: Add a test --- src/tests/phplog_catch.phpt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/tests/phplog_catch.phpt diff --git a/src/tests/phplog_catch.phpt b/src/tests/phplog_catch.phpt new file mode 100644 index 0000000..5b8d4f5 --- /dev/null +++ b/src/tests/phplog_catch.phpt @@ -0,0 +1,21 @@ +--TEST-- +Check if error handling doesn't eat SP errors +--SKIPIF-- + +--INI-- +sp.configuration_file={PWD}/config/phplog.ini +--FILE-- + +--EXPECTF-- +Fatal error: [snuffleupagus][0.0.0.0][unserialize][drop] The serialized object is too small. in %s/tests/phplog_catch.php on line %d + -- cgit v1.3