mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
unit: pin generation test depends on getrandom
Turn this test off if the kernel doesn't have it
This commit is contained in:
parent
f91380c195
commit
9e0d11f948
@ -2236,6 +2236,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
l_test_add("/wsc/pin/valid pin", wsc_test_pin_valid, NULL);
|
||||
l_test_add("/wsc/pin/valid checksum", wsc_test_pin_checksum, NULL);
|
||||
|
||||
if (l_getrandom_is_supported())
|
||||
l_test_add("/wsc/pin/generate", wsc_test_pin_generate, NULL);
|
||||
|
||||
l_test_add("/wsc/gen_uuid/1", wsc_test_uuid_from_addr,
|
||||
|
Loading…
Reference in New Issue
Block a user