Skip to content

Commit

Permalink
Disable lsan on new PDO firebird tests
Browse files Browse the repository at this point in the history
There is a known leak in the firebird client library.

Also switch these to use EXTENSIONS.
  • Loading branch information
nikic committed Jun 29, 2021
1 parent 2c59a6b commit fa71a11
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions ext/pdo_firebird/tests/bug_76448.phpt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
--TEST--
Bug #76448 (Stack buffer overflow in firebird_info_cb)
--SKIPIF--
<?php
if (!extension_loaded('pdo_firebird')) die("skip podo_firebird extension not available");
if (!extension_loaded('sockets')) die("skip sockets extension not available");
?>
--EXTENSIONS--
pdo_firebird
sockets
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require_once "payload_server.inc";
Expand Down
10 changes: 5 additions & 5 deletions ext/pdo_firebird/tests/bug_76449.phpt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
--TEST--
Bug #76449 (SIGSEGV in firebird_handle_doer)
--SKIPIF--
<?php
if (!extension_loaded('pdo_firebird')) die("skip pdo_firebird extension not available");
if (!extension_loaded('sockets')) die("skip sockets extension not available");
?>
--EXTENSIONS--
pdo_firebird
sockets
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require_once "payload_server.inc";
Expand Down
10 changes: 5 additions & 5 deletions ext/pdo_firebird/tests/bug_76450.phpt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
--TEST--
Bug #76450 (SIGSEGV in firebird_stmt_execute)
--SKIPIF--
<?php
if (!extension_loaded('pdo_firebird')) die("skip pdo_firebird extension not available");
if (!extension_loaded('sockets')) die("skip sockets extension not available");
?>
--EXTENSIONS--
pdo_firebird
sockets
--ENV--
LSAN_OPTIONS=detect_leaks=0
--FILE--
<?php
require_once "payload_server.inc";
Expand Down

0 comments on commit fa71a11

Please sign in to comment.