summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-06-24 10:12:37 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-06-24 10:13:25 +0200
commitc008fde96182ca029f99c11011bbce1cd7cd1752 (patch)
treefec4567756e091f2f610b259915df580196e0818
parent1dfeb70e6be3225a1ad0d17b991c23fa81405583 (diff)
downloadphp-git-c008fde96182ca029f99c11011bbce1cd7cd1752.tar.gz
Skip two curl tests under asan
These tests leak with the curl version on ubuntu 20.04. This should be fixed when we switch exit to use an exception.
-rw-r--r--ext/curl/tests/bug68937.phpt1
-rw-r--r--ext/curl/tests/bug68937_2.phpt1
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/tests/bug68937.phpt b/ext/curl/tests/bug68937.phpt
index 9f28117594..d9164c57a7 100644
--- a/ext/curl/tests/bug68937.phpt
+++ b/ext/curl/tests/bug68937.phpt
@@ -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
diff --git a/ext/curl/tests/bug68937_2.phpt b/ext/curl/tests/bug68937_2.phpt
index 1ce5b52114..4b09b438c5 100644
--- a/ext/curl/tests/bug68937_2.phpt
+++ b/ext/curl/tests/bug68937_2.phpt
@@ -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