summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-connectivity/samba/samba/0001-smbtorture-skip-test-case-tfork_cmd_send.patch38
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.14.14.bb1
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba/0001-smbtorture-skip-test-case-tfork_cmd_send.patch b/meta-networking/recipes-connectivity/samba/samba/0001-smbtorture-skip-test-case-tfork_cmd_send.patch
new file mode 100644
index 0000000000..90ee317860
--- /dev/null
+++ b/meta-networking/recipes-connectivity/samba/samba/0001-smbtorture-skip-test-case-tfork_cmd_send.patch
@@ -0,0 +1,38 @@
1From 059b517f9ef6cbdc696e0983ce255b1728042827 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Thu, 25 Aug 2022 16:46:04 +0800
4Subject: [PATCH] smbtorture: skip test case tfork_cmd_send
5
6The test case tfork_cmd_send fails on target as it requires a script
7located in the source directory:
8
9$ smbtorture ncalrpc:localhost local.tfork.tfork_cmd_send
10test: tfork_cmd_send
11/buildarea/build/tmp/work/core2-64-poky-linux/samba/4.14.14-r0/samba-4.14.14/testprogs/blackbox/tfork.sh:
12Failed to exec child - No such file or directory
13
14Upstream-Status: Inappropriate [embedded specific]
15
16Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
17---
18 lib/util/tests/tfork.c | 4 ----
19 1 file changed, 4 deletions(-)
20
21diff --git a/lib/util/tests/tfork.c b/lib/util/tests/tfork.c
22index 70ae975..4826ce6 100644
23--- a/lib/util/tests/tfork.c
24+++ b/lib/util/tests/tfork.c
25@@ -839,10 +839,6 @@ struct torture_suite *torture_local_tfork(TALLOC_CTX *mem_ctx)
26 "tfork_threads",
27 test_tfork_threads);
28
29- torture_suite_add_simple_test(suite,
30- "tfork_cmd_send",
31- test_tfork_cmd_send);
32-
33 torture_suite_add_simple_test(suite,
34 "tfork_event_file_handle",
35 test_tfork_event_file_handle);
36--
372.25.1
38
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb b/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb
index cb3678d7b6..53526a26b6 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.14.14.bb
@@ -21,6 +21,7 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \
21 file://0004-Add-options-to-configure-the-use-of-libbsd.patch \ 21 file://0004-Add-options-to-configure-the-use-of-libbsd.patch \
22 file://0005-samba-build-dnsserver_common-code.patch \ 22 file://0005-samba-build-dnsserver_common-code.patch \
23 file://0001-Fix-pyext_PATTERN-for-cross-compilation.patch \ 23 file://0001-Fix-pyext_PATTERN-for-cross-compilation.patch \
24 file://0001-smbtorture-skip-test-case-tfork_cmd_send.patch \
24 " 25 "
25 26
26SRC_URI:append:libc-musl = " \ 27SRC_URI:append:libc-musl = " \