summaryrefslogtreecommitdiffstats
path: root/6.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-10-28 10:51:56 +0200
committerRemi Collet <remi@php.net>2022-10-28 10:51:56 +0200
commit3e384da098d723fea36809c28abe68e4712a5c51 (patch)
tree49ef5800983bf01a4edb30734caebfd3b1e54778 /6.patch
parent91a856e604ad211b932fe42ff1ccce314bcb672b (diff)
ignore 1 test with openssl
Diffstat (limited to '6.patch')
-rw-r--r--6.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/6.patch b/6.patch
new file mode 100644
index 0000000..1851702
--- /dev/null
+++ b/6.patch
@@ -0,0 +1,24 @@
+From 929e63fc6ebbd6156a498c4cde95efc9f2aa9fbf Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 28 Oct 2022 10:47:34 +0200
+Subject: [PATCH] skip test using unavailable algo with OpenSSL
+
+---
+ tests/010.phpt | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/tests/010.phpt b/tests/010.phpt
+index 931bbe3..c60ee1c 100644
+--- a/tests/010.phpt
++++ b/tests/010.phpt
+@@ -2,6 +2,10 @@
+ encrypt/decrypt test
+ --EXTENSIONS--
+ rnp
++--SKIPIF--
++<?php
++if (!strcasecmp(rnp_backend_string(), "openssl")) die("skip OpenSSL backend");
++?>
+ --CAPTURE_STDIO--
+ STDIN STDOUT
+ --FILE--