ltp: upgrade 20230127 -> 20230516

(From OE-Core rev: 0953f22436d7ef03a21c2c78719c99c49df5e22c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2023-06-14 11:28:52 +02:00
committed by Richard Purdie
parent 75ee9049cb
commit ec7f8bd6c9
2 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
From f4f75ce9218b469d91b536218de3323977edc529 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Tue, 13 Jun 2023 15:10:33 +0200
Subject: [PATCH] testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE
This is required for off64_t to be available on musl systems.
Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/1047]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
testcases/kernel/syscalls/fcntl/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/fcntl/Makefile b/testcases/kernel/syscalls/fcntl/Makefile
index df663a50a..aac774111 100644
--- a/testcases/kernel/syscalls/fcntl/Makefile
+++ b/testcases/kernel/syscalls/fcntl/Makefile
@@ -17,6 +17,6 @@ include $(abs_srcdir)/../utils/newer_64.mk
%_64: CPPFLAGS += -D_FILE_OFFSET_BITS=64
-CPPFLAGS += -D_GNU_SOURCE
+CPPFLAGS += -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
include $(top_srcdir)/include/mk/generic_leaf_target.mk
--
2.30.2

View File

@@ -24,11 +24,12 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse"
CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
SRCREV = "dd2d61ac1a1e09797a6165f478abd4a9f4f43035"
SRCREV = "3ebc2dfa85c2445bb68d8c0d66e33c4da1e1b3a7"
SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \
file://0001-Remove-OOM-tests-from-runtest-mm.patch \
file://disable_hanging_tests.patch \
file://0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch \
"
S = "${WORKDIR}/git"