ltp: Delete unneeded patch for FNM_EXTMATCH

The patch in question was reworked, merged and released by
upstream version 20180926, as commit 822ad2043379.

(From OE-Core rev: 6ad99f3eabe359d5be98d63d4781063b63c83eea)

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Daniel Díaz
2018-11-19 16:07:20 -06:00
committed by Richard Purdie
parent 3732e2deab
commit 707512e90a
2 changed files with 0 additions and 45 deletions

View File

@@ -1,44 +0,0 @@
From 23518508de307790231d16af307291f1b45e903a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20D=C3=ADaz?= <daniel.diaz@linaro.org>
Date: Tue, 5 Jun 2018 15:36:30 -0500
Subject: [PATCH] read_all: Define FNM_EXTMATCH if not already (like under
musl).
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
With musl, FNM_EXTMATCH is not defined:
| read_all.c: In function 'read_test':
| read_all.c:201:41: error: 'FNM_EXTMATCH' undeclared (first use in this function); did you mean 'FNM_NOMATCH'?
| if (exclude && !fnmatch(exclude, path, FNM_EXTMATCH)) {
| ^~~~~~~~~~~~
| FNM_NOMATCH
| read_all.c:201:41: note: each undeclared identifier is reported only once for each function it appears in
| <builtin>: recipe for target 'read_all' failed
| make[4]: *** [read_all] Error 1
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Upstream-Status: Pending
---
testcases/kernel/fs/read_all/read_all.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/testcases/kernel/fs/read_all/read_all.c b/testcases/kernel/fs/read_all/read_all.c
index a8e1611..e9ff47a 100644
--- a/testcases/kernel/fs/read_all/read_all.c
+++ b/testcases/kernel/fs/read_all/read_all.c
@@ -59,6 +59,10 @@
#define MAX_PATH 4096
#define MAX_DISPLAY 40
+#if !defined(FNM_EXTMATCH)
+#define FNM_EXTMATCH 0
+#endif
+
struct queue {
sem_t sem;
int front;
--
2.7.4

View File

@@ -46,7 +46,6 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \
file://0035-fix-test_proc_kill-hang.patch \
file://0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch \
file://0039-commands-ar01-Fix-for-test-in-deterministic-mode.patch \
file://0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch \
file://0001-syscalls-fcntl-make-OFD-command-use-fcntl64-syscall-.patch \
file://0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch \
file://0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch \