Files
poky/meta/recipes-core/util-linux/util-linux/0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch
Chen Qi e67506ffa2 util-linux/util-linux-libuuid: upgrade from 2.40.4 to 2.41
License-Update: add EUPL-1.2.
See 74f3265b9a

0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch is
a backported patch to fix kill/decode test case.

0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch is
used to fix testcase failure of lsfd/mkfds-foreign-sockets.

The su tests (su/environ for now) are removed when 'pam' is not in
PACKAGECONFIG. This is because su is not enabled in such case.

lsfd/option-inet is removed out of the excluded list because upstream
has fixed the issue:
eaa3870880

(From OE-Core rev: ed76e5fbec0f1926c14aedbb03ca1421c3920355)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00

37 lines
1.0 KiB
Diff

From d2eeccf36542d506b660641a07a44f3976772897 Mon Sep 17 00:00:00 2001
From: Chen Qi <Qi.Chen@windriver.com>
Date: Thu, 15 May 2025 16:44:33 +0800
Subject: [PATCH] tests/ts/kill/decode: avoid using shell built-in kill command
This test case should do the same as other kill test cases, avoiding
using shell built-in kill command.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Upstream-Status: Backport [https://github.com/util-linux/util-linux/commit/d2eeccf36542d506b660641a07a44f3976772897]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
tests/ts/kill/decode | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/ts/kill/decode b/tests/ts/kill/decode
index 03bc25ff6..57149899e 100755
--- a/tests/ts/kill/decode
+++ b/tests/ts/kill/decode
@@ -18,6 +18,11 @@ TS_DESC="decode functions"
. "$TS_TOPDIR/functions.sh"
ts_init "$*"
+# make sure we do not use shell built-in command
+if [ "$TS_USE_SYSTEM_COMMANDS" == "yes" ]; then
+ TS_CMD_KILL="$(which kill)"
+fi
+
ts_skip_qemu_user
ts_check_test_command "$TS_CMD_KILL"
--
2.34.1