summaryrefslogtreecommitdiff
path: root/guile-3.0.7-disable-oom-test.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-06 04:03:05 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-06 04:03:05 +0000
commite5ca48653c51d5ccd8533f9acd5a23688056ffd7 (patch)
tree3a8c8a26f4fbd324c522d71b70723d04af05a732 /guile-3.0.7-disable-oom-test.patch
parentefb3174e01a7f5da7ef5ae225721645605f34904 (diff)
automatic import of guileopeneuler24.03_LTS
Diffstat (limited to 'guile-3.0.7-disable-oom-test.patch')
-rw-r--r--guile-3.0.7-disable-oom-test.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/guile-3.0.7-disable-oom-test.patch b/guile-3.0.7-disable-oom-test.patch
new file mode 100644
index 0000000..657aa93
--- /dev/null
+++ b/guile-3.0.7-disable-oom-test.patch
@@ -0,0 +1,13 @@
+diff --git a/test-suite/standalone/test-out-of-memory b/test-suite/standalone/test-out-of-memory
+index 95692d6..49988ce 100755
+--- a/test-suite/standalone/test-out-of-memory
++++ b/test-suite/standalone/test-out-of-memory
+@@ -3,6 +3,8 @@ guild compile "$0"
+ exec guile -q -s "$0" "$@"
+ !#
+
++(exit 77)
++
+ (unless (defined? 'setrlimit)
+ ;; Without an rlimit, this test can take down your system, as it
+ ;; consumes all of your memory. That doesn't seem like something we