modify patch

This commit is contained in:
ultra_planet 2020-01-09 11:53:13 +08:00
parent 3ecfac99dd
commit 51e91f067c

View File

@ -1,4 +1,4 @@
From 990e42d9c751d089cea161a25b7c2ade0a15d279 Mon Sep 17 00:00:00 2001 From 415a8ae9c9b6ac18f0524b6af8e58408b426457d Mon Sep 17 00:00:00 2001
From: Edward Thomson <ethomson@edwardthomson.com> From: Edward Thomson <ethomson@edwardthomson.com>
Date: Thu, 13 Sep 2018 13:27:07 +0100 Date: Thu, 13 Sep 2018 13:27:07 +0100
Subject: [PATCH] tests: don't run buf::oom on 32-bit systems Subject: [PATCH] tests: don't run buf::oom on 32-bit systems
@ -6,14 +6,12 @@ Subject: [PATCH] tests: don't run buf::oom on 32-bit systems
On a 32-bit Linux systems, the value large enough to make malloc On a 32-bit Linux systems, the value large enough to make malloc
guarantee a failure is also large enough that valgrind considers it guarantee a failure is also large enough that valgrind considers it
"fishy". Skip this test on those systems entirely. "fishy". Skip this test on those systems entirely.
(cherry picked from commit 415a8ae9c9b6ac18f0524b6af8e58408b426457d)
--- ---
tests/buf/oom.c | 14 +++++++++----- tests/buf/oom.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-) 1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/tests/buf/oom.c b/tests/buf/oom.c diff --git a/tests/buf/oom.c b/tests/buf/oom.c
index 16a03cc1a..86f5e7239 100644 index 2741a8ddf2..ec3bad9979 100644
--- a/tests/buf/oom.c --- a/tests/buf/oom.c
+++ b/tests/buf/oom.c +++ b/tests/buf/oom.c
@@ -11,12 +11,8 @@ @@ -11,12 +11,8 @@
@ -59,6 +57,3 @@ index 16a03cc1a..86f5e7239 100644
} }
void test_buf_oom__grow_by(void) void test_buf_oom__grow_by(void)
--
2.19.1