Fix lint-Makefile failure (RHEL-126049)

Resolves: RHEL-126049
This commit is contained in:
Frédéric Bérat 2025-11-04 14:26:15 +01:00
parent c3e975cbcf
commit 9b3349f867
2 changed files with 72 additions and 0 deletions

43
glibc-RHEL-126049-1.patch Normal file
View File

@ -0,0 +1,43 @@
commit ced745bcd3e0d58cfc38ebbbc36540b9dcdd29eb
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Oct 8 08:46:45 2024 +0800
stdio-common/Makefile: Fix FAIL: lint-makefiles
Fix stdio-common/Makefile:
@@ -224,12 +224,12 @@
tst-freopen4 \
tst-freopen5 \
tst-freopen6 \
+ tst-freopen7 \
tst-freopen64-2 \
tst-freopen64-3 \
tst-freopen64-4 \
tst-freopen64-6 \
tst-freopen64-7 \
- tst-freopen7 \
tst-fseek \
tst-fwrite \
tst-fwrite-memstrm \
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 4c39b9d9fb3d029f..d89c2aa31f47a363 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -229,12 +229,12 @@ tests := \
tst-freopen4 \
tst-freopen5 \
tst-freopen6 \
- tst-freopen7 \
tst-freopen64-2 \
tst-freopen64-3 \
tst-freopen64-4 \
tst-freopen64-6 \
tst-freopen64-7 \
+ tst-freopen7 \
tst-fseek \
tst-fseek-mmap \
tst-fwrite \

29
glibc-RHEL-126049-2.patch Normal file
View File

@ -0,0 +1,29 @@
commit 265e13d33c470446043a3d2033984a1197151e09
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sun Dec 22 05:55:39 2024 +0800
assert: Sort tests in Makefile
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Conflicts:
assert/Makefile
(fixup context)
diff --git a/assert/Makefile b/assert/Makefile
index d2c6943e6e28dda0..ffd9024a4c7058cc 100644
--- a/assert/Makefile
+++ b/assert/Makefile
@@ -35,11 +35,11 @@ routines := \
tests := \
test-assert \
+ test-assert-2 \
test-assert-perr \
tst-assert-c++ \
tst-assert-g++ \
tst-assert-sa-2025-0001 \
- test-assert-2 \
# tests
ifeq ($(have-cxx-thread_local),yes)