From da18634ddbd12df1e4ac3b3b644f7a9af5479232 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Fri, 7 Jul 2023 09:30:01 +0200 Subject: [PATCH] Refine skipif for cirrus+arm --- ext/standard/tests/file/bug52820.phpt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/standard/tests/file/bug52820.phpt b/ext/standard/tests/file/bug52820.phpt index 038c569cd2dbd..1a61d67c33dd2 100644 --- a/ext/standard/tests/file/bug52820.phpt +++ b/ext/standard/tests/file/bug52820.phpt @@ -12,7 +12,9 @@ curl_setopt($handle, CURLOPT_VERBOSE, true); curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); if (!@curl_setopt($handle, CURLOPT_STDERR, fopen("php://memory", "w+"))) die("skip fopencookie not supported on this platform"); -if (getenv('CIRRUS_CI')) die('xfail Broken on Cirrus+ARM'); +if (getenv('CIRRUS_CI') && strpos(php_uname('m'), 'aarch64') !== false) { + die('xfail Broken on Cirrus+ARM'); +} ?> --FILE--