summaryrefslogtreecommitdiff
path: root/backport-curl-7.88.0-tests-warnings.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-01 06:42:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-01 06:42:04 +0000
commited3c4fc2f8de47a3c5342e37b70595b49132e0f7 (patch)
treeaf043e85653b53fe1ea8f3f1962f3c67eb2a6ebe /backport-curl-7.88.0-tests-warnings.patch
parent320b46bd46465c1056724bcadbf6c12539f849c4 (diff)
Diffstat (limited to 'backport-curl-7.88.0-tests-warnings.patch')
-rw-r--r--backport-curl-7.88.0-tests-warnings.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/backport-curl-7.88.0-tests-warnings.patch b/backport-curl-7.88.0-tests-warnings.patch
new file mode 100644
index 0000000..04b2ba2
--- /dev/null
+++ b/backport-curl-7.88.0-tests-warnings.patch
@@ -0,0 +1,30 @@
+From d506d885aa16b4a87acbac082eea41dccdc7b69f Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka@redhat.com>
+Date: Wed, 15 Feb 2023 10:42:38 +0100
+Subject: [PATCH] Revert "runtests: consider warnings fatal and error on them"
+
+While it might be useful for upstream developers, it is not so useful
+for downstream consumers.
+
+This reverts upstream commit 22f795c834cfdbacbb1b55426028a581e3cf67a8.
+---
+ tests/runtests.pl | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/tests/runtests.pl b/tests/runtests.pl
+index 71644ad18..0cf85c3fe 100755
+--- a/tests/runtests.pl
++++ b/tests/runtests.pl
+@@ -55,8 +55,7 @@
+ # given, this won't be a problem.
+
+ use strict;
+-# Promote all warnings to fatal
+-use warnings FATAL => 'all';
++use warnings;
+ use 5.006;
+
+ # These should be the only variables that might be needed to get edited:
+--
+2.39.1
+