summaryrefslogtreecommitdiff
path: root/allow_protocol_file.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-30 08:55:11 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-30 08:55:11 +0000
commit87207239fdb31e0234b7d54f547e2d4fd64ad3d5 (patch)
tree5eba4d509fa2001a434f403a57d6f27920cf9c75 /allow_protocol_file.patch
parent013560a96d059e9221eb8965e0a07d3c7e73bc8e (diff)
automatic import of rpkg-macros
Diffstat (limited to 'allow_protocol_file.patch')
-rw-r--r--allow_protocol_file.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/allow_protocol_file.patch b/allow_protocol_file.patch
new file mode 100644
index 0000000..d83f1d3
--- /dev/null
+++ b/allow_protocol_file.patch
@@ -0,0 +1,12 @@
+diff -ur rpkg-util-macros-orig/tests/run rpkg-util-macros/tests/run
+--- rpkg-util-macros-orig/tests/run 2023-05-30 08:51:11.465641122 +0000
++++ rpkg-util-macros/tests/run 2023-05-30 08:51:11.465641122 +0000
+@@ -1,6 +1,8 @@
+ #!/bin/bash
+
+ export testdir="$(builtin cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
++# workaround for git secure patch which may fail the tests
++git config protocol.file.allow always
+
+ for dir in `ls -d "$testdir"/test_*/`; do
+ echo "====================== $(basename ${dir}) ======================"