Skip to content

Commit fa71a11

Browse files
committed
Disable lsan on new PDO firebird tests
There is a known leak in the firebird client library. Also switch these to use EXTENSIONS.
1 parent 2c59a6b commit fa71a11

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

ext/pdo_firebird/tests/bug_76448.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
--TEST--
22
Bug #76448 (Stack buffer overflow in firebird_info_cb)
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('pdo_firebird')) die("skip podo_firebird extension not available");
6-
if (!extension_loaded('sockets')) die("skip sockets extension not available");
7-
?>
3+
--EXTENSIONS--
4+
pdo_firebird
5+
sockets
6+
--ENV--
7+
LSAN_OPTIONS=detect_leaks=0
88
--FILE--
99
<?php
1010
require_once "payload_server.inc";

ext/pdo_firebird/tests/bug_76449.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
--TEST--
22
Bug #76449 (SIGSEGV in firebird_handle_doer)
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('pdo_firebird')) die("skip pdo_firebird extension not available");
6-
if (!extension_loaded('sockets')) die("skip sockets extension not available");
7-
?>
3+
--EXTENSIONS--
4+
pdo_firebird
5+
sockets
6+
--ENV--
7+
LSAN_OPTIONS=detect_leaks=0
88
--FILE--
99
<?php
1010
require_once "payload_server.inc";

ext/pdo_firebird/tests/bug_76450.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
--TEST--
22
Bug #76450 (SIGSEGV in firebird_stmt_execute)
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('pdo_firebird')) die("skip pdo_firebird extension not available");
6-
if (!extension_loaded('sockets')) die("skip sockets extension not available");
7-
?>
3+
--EXTENSIONS--
4+
pdo_firebird
5+
sockets
6+
--ENV--
7+
LSAN_OPTIONS=detect_leaks=0
88
--FILE--
99
<?php
1010
require_once "payload_server.inc";

0 commit comments

Comments
 (0)