Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ v1] test-mesh-crypto: Don't attempt to run test if AF_ALG is not available
@ 2026-05-22 16:49 Luiz Augusto von Dentz
  2026-05-22 18:46 ` [BlueZ,v1] " bluez.test.bot
  2026-05-26 15:40 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2026-05-22 16:49 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This make use of mesh_crypto_check_avail to check if AF_ALG is available
and if not just bail out which is similar to how test-crypto handles
when bt_crypto_new returns NULL.
---
 unit/test-mesh-crypto.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/unit/test-mesh-crypto.c b/unit/test-mesh-crypto.c
index 36cae70a68a4..24fbbba33298 100644
--- a/unit/test-mesh-crypto.c
+++ b/unit/test-mesh-crypto.c
@@ -2132,6 +2132,9 @@ int main(int argc, char *argv[])
 {
 	l_log_set_stderr();
 
+	if (!mesh_crypto_check_avail())
+		return 0;
+
 	/* Section 8.1 Sample Data Tests */
 	check_s1(&s8_1_1);
 	check_k1(&s8_1_2);
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [BlueZ,v1] test-mesh-crypto: Don't attempt to run test if AF_ALG is not available
  2026-05-22 16:49 [PATCH BlueZ v1] test-mesh-crypto: Don't attempt to run test if AF_ALG is not available Luiz Augusto von Dentz
@ 2026-05-22 18:46 ` bluez.test.bot
  2026-05-26 15:40 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2026-05-22 18:46 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1099512

---Test result---

Test Summary:
CheckPatch                    PASS      0.48 seconds
GitLint                       FAIL      0.34 seconds
BuildEll                      PASS      21.21 seconds
BluezMake                     PASS      672.94 seconds
MakeCheck                     PASS      19.04 seconds
MakeDistcheck                 PASS      248.00 seconds
CheckValgrind                 PASS      294.89 seconds
CheckSmatch                   PASS      350.97 seconds
bluezmakeextell               PASS      183.30 seconds
IncrementalBuild              PASS      675.76 seconds
ScanBuild                     PASS      1070.01 seconds

Details
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[BlueZ,v1] test-mesh-crypto: Don't attempt to run test if AF_ALG is not available

1: T1 Title exceeds max length (81>80): "[BlueZ,v1] test-mesh-crypto: Don't attempt to run test if AF_ALG is not available"


https://github.com/bluez/bluez/pull/2147

---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH BlueZ v1] test-mesh-crypto: Don't attempt to run test if AF_ALG is not available
  2026-05-22 16:49 [PATCH BlueZ v1] test-mesh-crypto: Don't attempt to run test if AF_ALG is not available Luiz Augusto von Dentz
  2026-05-22 18:46 ` [BlueZ,v1] " bluez.test.bot
@ 2026-05-26 15:40 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2026-05-26 15:40 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Fri, 22 May 2026 12:49:12 -0400 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> This make use of mesh_crypto_check_avail to check if AF_ALG is available
> and if not just bail out which is similar to how test-crypto handles
> when bt_crypto_new returns NULL.
> ---
>  unit/test-mesh-crypto.c | 3 +++
>  1 file changed, 3 insertions(+)

Here is the summary with links:
  - [BlueZ,v1] test-mesh-crypto: Don't attempt to run test if AF_ALG is not available
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=b8d42b282b3c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-26 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-22 16:49 [PATCH BlueZ v1] test-mesh-crypto: Don't attempt to run test if AF_ALG is not available Luiz Augusto von Dentz
2026-05-22 18:46 ` [BlueZ,v1] " bluez.test.bot
2026-05-26 15:40 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox