👷 fix test for Windows

This commit is contained in:
macintoshplus
2026-02-24 23:33:42 +01:00
parent 55d30dfa5d
commit d1c7fcd5a1
2 changed files with 3 additions and 2 deletions

View File

@@ -2829,10 +2829,10 @@ case "$1" in
gdb --args {$cmd}
;;
"valgrind")
USE_ZEND_ALLOC=0 valgrind $2 ${cmd}
USE_ZEND_ALLOC=0 valgrind $2 {$cmd}
;;
"rr")
rr record $2 ${cmd}
rr record $2 {$cmd}
;;
*)
{$cmd}

View File

@@ -3,6 +3,7 @@ Supports version 5 RAR files
--SKIPIF--
<?php if(!extension_loaded("rar")) die("skip");
if (isset($_ENV['APPVEYOR'])) die("skip failing on appveyor");
if ($_ENV['RUNNER_OS'] === 'Windows') die("skip failing on Windows runner on GitHub Action");
--FILE--
<?php
RarException::setUsingExceptions(true);