test-mesh-crypto: Don't attempt to run test if AF_ALG is not available
Luiz Augusto von Dentz
maintainerPATCH 1/1 test-mesh-crypto: Don't attempt to run test if AF_ALG is not available
From: Luiz Augusto von Dentz <[email protected]>
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(+)
unit/test-mesh-crypto.c +3 -0
@@ -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);
Signature · 1 line
2.53.0
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
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 8 lines · On Fri, 22 May 2026 12:49:12 -0400 you wrote:
From: Luiz Augusto von Dentz <[email protected]>
This make use of
mesh_crypto_check_availto check ifAF_ALGis available and if not just bail out which is similar to how test-crypto handles whenbt_crypto_newreturns 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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Quoted 6 lines · Luiz Augusto von Dentz
From: Luiz Augusto von Dentz <[email protected]>
This make use of
mesh_crypto_check_availto check ifAF_ALGis available
and if not just bail out which is similar to how test-crypto handles whenbt_crypto_newreturns NULL.
Skipped tests should return "77" instead.
I've sent a patch to fix that.
Quoted 18 lines
---
unit/test-mesh-crypto.c | 3 +++1 file changed, 3 insertions(+)unit/test-mesh-crypto.c +0
-0@@ -2132,6 +2132,9 @@ int main(int argc, char *argv[]) { l_log_set_stderr();unit/test-mesh-crypto.c +3
-0+if (!mesh_crypto_check_avail ()) +return 0 ; +/* Section 8.1 Sample Data Tests */
check_s1(&s8_1_1);
check_k1(&s8_1_2);