Skip to contentSkip to conversation

package/ltp-testsuite: bump to version 20200120

PATCH New Petr Vorel 2 participants 2 messages Jan 20, 2020

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 package/ltp-testsuite: bump to version 20200120

Drop all patches. All but 0001-rpc-tirpc-disable-tirpc_auth_authdes_-create-tests.patch were backported from this release, this one is not needed any more due upstream commit f7199c464 ("rpc-tirpc: Remove authdes related tests")

Thus remove also LTP_TESTSUITE_AUTORECONF.

Update also list of unsupported tests on musl (broken rpc-tirpc tests were fixed in this release).

---
Hi,

tested:

$ ./utils/test-pkg ltp-testsuite
                             br-arm-full [1/6]: OK
                  br-arm-cortex-a9-glibc [2/6]: OK
                   br-arm-cortex-m4-full [3/6]: SKIPPED
                          br-x86-64-musl [4/6]: OK
                      br-arm-full-static [5/6]: OK
                            sourcery-arm [6/6]: OK

Kind regards,
Petr

 ...ble-tirpc_auth_authdes_-create-tests.patch |  36 --
 ...-build-caused-by-conflicting-signatu.patch | 135 -------
 ...ine-_GNU_SOURCE-to-fix-build-on-musl.patch |  27 --
 ...kernel_fsid_t-definition-to-correct-.patch |  61 ---
 ...work-checks-for-fallback-definitions.patch |  91 -----
 ...val-vs.-__val-fanotify_event_info_fi.patch | 108 ------
 ...7-fanotify-Fix-FSID_VAL_MEMBER-usage.patch |  55 ---
 ...compat_16-Always-include-sys-fsuid.h.patch |  52 ---
 ...l-Remove-unneeded-malloc-sizeof-FILE.patch |  37 --
 .../0010-Replace-bzero-with-memset.patch      | 351 ------------------
 ...011-Fix-static-linking-with-musl-fts.patch |  50 ---
 package/ltp-testsuite/ltp-testsuite.hash      |   4 +-
 package/ltp-testsuite/ltp-testsuite.mk        |  18 +-
 13 files changed, 3 insertions(+), 1022 deletions(-)
 delete mode 100644 package/ltp-testsuite/0001-rpc-tirpc-disable-tirpc_auth_authdes_-create-tests.patch
 delete mode 100644 package/ltp-testsuite/0002-pkeys-Fix-uclibc-build-caused-by-conflicting-signatu.patch
 delete mode 100644 package/ltp-testsuite/0003-setxattr03-define-_GNU_SOURCE-to-fix-build-on-musl.patch
 delete mode 100644 package/ltp-testsuite/0004-fanotify-Move-__kernel_fsid_t-definition-to-correct-.patch
 delete mode 100644 package/ltp-testsuite/0005-fanotify-Rework-checks-for-fallback-definitions.patch
 delete mode 100644 package/ltp-testsuite/0006-fanotify-Detect-val-vs.-__val-fanotify_event_info_fi.patch
 delete mode 100644 package/ltp-testsuite/0007-fanotify-Fix-FSID_VAL_MEMBER-usage.patch
 delete mode 100644 package/ltp-testsuite/0008-utils-compat_16-Always-include-sys-fsuid.h.patch
 delete mode 100644 package/ltp-testsuite/0009-nfsv4-acl-Remove-unneeded-malloc-sizeof-FILE.patch
 delete mode 100644 package/ltp-testsuite/0010-Replace-bzero-with-memset.patch
 delete mode 100644 package/ltp-testsuite/0011-Fix-static-linking-with-musl-fts.patch
package/ltp-testsuite/0001-rpc-tirpc-disable-tirpc_auth_authdes_-create-tests.patch deleted +0 -36
deleted file mode 100644
index 6fe2d6e72b..0000000000
@@ -1,36 +0,0 @@
-From 9bbadb7ece1b068465279e7248b3439d443054a6 Mon Sep 17 00:00:00 2001
-From: Erico Nunes <[email protected]>
-Date: Fri, 30 Sep 2016 17:43:08 +0200
-Subject: [PATCH] rpc-tirpc: disable tirpc_auth_authdes_*create tests
-
-Due to Buildroot patch 0005-Disable-DES-authentification-support.patch on
-libtirpc, this library is built without method authdes_create. Any code
-that uses this library, like the rpc-tirpc testsuite, thus fails to link.
-
-In the context of Buildroot, instead of disabling ltp-testsuite entirely,
-just disable the problematic tests.
-
-Upstream-status: not applicable
-Signed-off-by: Thomas De Schampheleire <[email protected]>
-[Erico: Rebase for ltp 20160920]
-Signed-off-by: Erico Nunes <[email protected]>
----
- testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/Makefile | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/Makefile
-index 45bc8a6..c04a088 100644
---- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/Makefile
-+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/Makefile
-@@ -19,4 +19,8 @@
- top_srcdir		?= ../../../../../../..
- 
- include	$(top_srcdir)/include/mk/env_pre.mk
-+
-+FILTER_OUT_DIRS += tirpc_auth_authdes_seccreate \
-+		   tirpc_auth_authdes_create
-+
- include $(top_srcdir)/include/mk/generic_trunk_target.mk
--- 
-2.7.4
-
package/ltp-testsuite/0002-pkeys-Fix-uclibc-build-caused-by-conflicting-signatu.patch deleted +0 -135

135 lines not on this page · raw message

package/ltp-testsuite/0003-setxattr03-define-_GNU_SOURCE-to-fix-build-on-musl.patch deleted +0 -27
deleted file mode 100644
index 6b76926a39..0000000000
@@ -1,27 +0,0 @@
-From a712a3930d98336f4a0931ae06da691b7fa0ecd7 Mon Sep 17 00:00:00 2001
-From: Petr Vorel <[email protected]>
-Date: Mon, 14 Oct 2019 13:02:55 +0200
-Subject: [PATCH] setxattr03: define _GNU_SOURCE to fix build on musl
-
-musl defines loff_t in <fcntl.h> and guard it under _GNU_SOURCE.
-
-Signed-off-by: Petr Vorel <[email protected]>
-[Upstream status: 3d2b9ef91f32a0a1794a8a05b825b18c6f956b0c]
----
- testcases/kernel/syscalls/setxattr/setxattr03.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/testcases/kernel/syscalls/setxattr/setxattr03.c b/testcases/kernel/syscalls/setxattr/setxattr03.c
-index bb511d5ba..58ee0f880 100644
---- a/testcases/kernel/syscalls/setxattr/setxattr03.c
-+++ b/testcases/kernel/syscalls/setxattr/setxattr03.c
-@@ -13,6 +13,7 @@
-  *    -1 and set errno to EPERM
-  */
-
-+#define _GNU_SOURCE
- #include "config.h"
- #include <sys/ioctl.h>
- #include <sys/types.h>
---
-2.23.0
package/ltp-testsuite/0004-fanotify-Move-__kernel_fsid_t-definition-to-correct-.patch deleted +0 -61

61 lines not on this page · raw message

package/ltp-testsuite/0005-fanotify-Rework-checks-for-fallback-definitions.patch deleted +0 -91

91 lines not on this page · raw message

package/ltp-testsuite/0006-fanotify-Detect-val-vs.-__val-fanotify_event_info_fi.patch deleted +0 -108

108 lines not on this page · raw message

package/ltp-testsuite/0007-fanotify-Fix-FSID_VAL_MEMBER-usage.patch deleted +0 -55

55 lines not on this page · raw message

package/ltp-testsuite/0008-utils-compat_16-Always-include-sys-fsuid.h.patch deleted +0 -52

52 lines not on this page · raw message

package/ltp-testsuite/0009-nfsv4-acl-Remove-unneeded-malloc-sizeof-FILE.patch deleted +0 -37
deleted file mode 100644
index 045fb814c8..0000000000
@@ -1,37 +0,0 @@
-From 7eae073fda17a94a36893337b5a5d639024d571c Mon Sep 17 00:00:00 2001
-From: Petr Vorel <[email protected]>
-Date: Sun, 17 Nov 2019 12:53:22 +0100
-Subject: [PATCH] nfsv4/acl: Remove unneeded malloc(sizeof(FILE))
-
-FILE incomplete type under musl (comply C11 [1]).
-malloc(sizeof(FILE)) is not needed anyway, thus remove.
-
-This fixes build on musl (at least):
-acl1.c:51:23: error: invalid application of 'sizeof' to incomplete type 'FILE' {aka 'struct _IO_FILE'}
-  fptr = malloc(sizeof(FILE));
-
-Fixes: 618fd23eb ("Initial add of acl testsuite from Bull")
-
-[1] https://www.openwall.com/lists/musl/2019/01/16/1
-
-Signed-off-by: Petr Vorel <[email protected]>
-[Upstream status: 7eae073fda17a94a36893337b5a5d639024d571c]
----
- testcases/network/nfsv4/acl/acl1.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/testcases/network/nfsv4/acl/acl1.c b/testcases/network/nfsv4/acl/acl1.c
-index bdf0180da..aae9484e5 100644
---- a/testcases/network/nfsv4/acl/acl1.c
-+++ b/testcases/network/nfsv4/acl/acl1.c
-@@ -48,7 +48,6 @@ int do_file_op(char *filename)
- 	result = 0;
- 	FILE *fptr;
- 	char str[256] = "./";
--	fptr = malloc(sizeof(FILE));
- 
- 	uid = geteuid();
- 	strcat(str, filename);
--- 
-2.23.0
-
package/ltp-testsuite/0010-Replace-bzero-with-memset.patch deleted +0 -351

351 lines not on this page · raw message

package/ltp-testsuite/0011-Fix-static-linking-with-musl-fts.patch deleted +0 -50

50 lines not on this page · raw message

package/ltp-testsuite/ltp-testsuite.hash +2 -2
index 4725f7b5b6..777f06ea56 100644
@@ -1,2 +1,2 @@
-# From: https://github.com/linux-test-project/ltp/releases/download/20190930/ltp-full-20190930.tar.xz.sha1
-sha1 9b58720b33d17d1c635d5d8b5abd9fc6eec07374  ltp-full-20190930.tar.xz
+# From: https://github.com/linux-test-project/ltp/releases/download/20200120/ltp-full-20200120.tar.xz.sha1
+sha1 8f622383907e2e64e60b69fd305fecb34311d6b6  ltp-full-20200120.tar.xz
package/ltp-testsuite/ltp-testsuite.mk +1 -17
index ce02cc4e98..88b2e88293 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LTP_TESTSUITE_VERSION = 20190930
+LTP_TESTSUITE_VERSION = 20200120
 LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).tar.xz
 LTP_TESTSUITE_SITE = https://github.com/linux-test-project/ltp/releases/download/$(LTP_TESTSUITE_VERSION)
 LTP_TESTSUITE_LICENSE = GPL-2.0, GPL-2.0+
@@ -86,18 +86,6 @@ LTP_TESTSUITE_UNSUPPORTED_TEST_CASES = \
 	testcases/kernel/syscalls/timer_create/timer_create01.c \
 	testcases/kernel/syscalls/timer_create/timer_create03.c \
 	testcases/misc/crash/crash01.c \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_bufcreate/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_registerrpc/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_register/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_unregister/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_register/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_unregister/ \
-	testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authdes_seccreate/ \
 	utils/benchmark/ebizzy-0.3
 endif
 
@@ -117,8 +105,4 @@ endef
 LTP_TESTSUITE_POST_PATCH_HOOKS += LTP_TESTSUITE_REMOVE_LDD
 endif
 
-# 0005-fanotify-Rework-checks-for-fallback-definitions.patch
-# 0006-fanotify-Detect-val-vs.-__val-fanotify_event_info_fi.patch
-LTP_TESTSUITE_AUTORECONF = YES
-
 $(eval $(autotools-package))
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 package/ltp-testsuite: bump to version 20200120

Quoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Petr" == Petr Vorel <[email protected]> writes:

Drop all patches. All but 0001-rpc-tirpc-disable-tirpc_auth_authdes_-create-tests.patch were backported from this release, this one is not needed any more due upstream commit f7199c464 ("rpc-tirpc: Remove authdes related tests")

Thus remove also LTP_TESTSUITE_AUTORECONF.

Update also list of unsupported tests on musl (broken rpc-tirpc tests were fixed in this release).

---
Hi,

tested:

$ ./utils/test-pkg ltp-testsuite
                             br-arm-full [1/6]: OK
                  br-arm-cortex-a9-glibc [2/6]: OK
                   br-arm-cortex-m4-full [3/6]: SKIPPED
                          br-x86-64-musl [4/6]: OK
                      br-arm-full-static [5/6]: OK
                            sourcery-arm [6/6]: OK
Quoted 2 lines

Kind regards,
Petr

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard