]> granicus.if.org Git - php/commitdiff
Skip two curl tests under asan
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 24 Jun 2020 08:12:37 +0000 (10:12 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 24 Jun 2020 08:13:25 +0000 (10:13 +0200)
These tests leak with the curl version on ubuntu 20.04. This should
be fixed when we switch exit to use an exception.

ext/curl/tests/bug68937.phpt
ext/curl/tests/bug68937_2.phpt

index 9f28117594947084063cb1d099b455f1c569cd15..d9164c57a782e8e78c97f6652cbc9b43319bdbe7 100644 (file)
@@ -3,6 +3,7 @@ Bug # #68937 (Segfault in curl_multi_exec)
 --SKIPIF--
 <?php
 include 'skipif.inc';
+if (getenv('SKIP_ASAN')) die('skip some curl versions leak on longjmp');
 ?>
 --FILE--
 <?php
index 1ce5b52114292e9677dc75fb7314d2120584c109..4b09b438c5ec9b13f0b4e075a699305dadb92127 100644 (file)
@@ -3,6 +3,7 @@ Bug # #68937 (Segfault in curl_multi_exec)
 --SKIPIF--
 <?php
 include 'skipif.inc';
+if (getenv('SKIP_ASAN')) die('skip some curl versions leak on longjmp');
 ?>
 --FILE--
 <?php