From 483b30ea63498daffeb2030aca7b742c40f544d7 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sun, 18 Apr 2021 15:35:03 +0200 Subject: [PATCH] Disable pure kernel check for -m 24900 in unit tests. This kernel does not exist. --- tools/test_modules/m24900.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/test_modules/m24900.pm b/tools/test_modules/m24900.pm index 4386c951e..c0ed9190a 100644 --- a/tools/test_modules/m24900.pm +++ b/tools/test_modules/m24900.pm @@ -11,7 +11,7 @@ use MIME::Base64 qw (encode_base64 decode_base64); use Digest::MD5 qw (md5); -sub module_constraints { [[0, 256], [-1, -1], [0, 55], [-1, -1], [-1, -1]] } +sub module_constraints { [[-1, -1], [-1, -1], [0, 55], [-1, -1], [-1, -1]] } my $itoa62 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; @@ -27,8 +27,6 @@ sub module_generate_hash { $chksum[$j] = (ord (substr ($digest, $i + 0, 1)) + ord (substr ($digest, $i + 1, 1))) % 62; -printf ("%d\n", $chksum[$j]); - $chksum[$j] = substr ($itoa62, $chksum[$j], 1); }