Message ID | 20240229233432.work.675-kees@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-87698-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp745545dyb; Thu, 29 Feb 2024 15:36:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVOerabu+gMWkHn9bLRYPYl0dIjOp4orp9bNrVRefQgjkltk9mkmCfAUN1EUSD18yI9hGiGTej2lUhyfONui11rJsS8GA== X-Google-Smtp-Source: AGHT+IGULuSUUx4pzHxOQG7AiiNrWGeOMFDVTg7Ewv5+86Qvidk4VsY10BLedtrZ0dpntMJno09S X-Received: by 2002:a17:906:cd01:b0:a44:3056:1ec1 with SMTP id oz1-20020a170906cd0100b00a4430561ec1mr20267ejb.6.1709249761079; Thu, 29 Feb 2024 15:36:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709249761; cv=pass; d=google.com; s=arc-20160816; b=EwdlZr4Pxzl4EU8mwyJ1153ZhssU2RvnzmY/uzE9IOdWBkWB40rgqq+OTx8soFEgqJ iAs1J/CwrZ0J05YWuBiQnhu2mwrUYJ8V+YJEYdPEQ7PRxWI72Nz/4ou06EpfTwpi9/JZ Ke56XXNQrV/jz8u+D942zKP6y1a5tWksIhRpyZglTKtMP3n2NORpZVaFaXdgAnHZ8r4Q MpxBoGp+CncFCIYeffG2VtqvhMdEoYlJPG0cinQe5re0w99ihTHBy5WmxzrzXZy+XT6L V5kJaO36eUARpD4J1BgGXnBCmGMJavDSGeF7FwKyHHw6lEAZIt3K9y/Way4M/FjyRr71 WUfw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=qgeC0dWQiXHpXbv+RTu39Eq188gL97uOmLAZY2hF3fA=; fh=YOBH30s2bWeb5FmKGOj4XpnicT8r14GOnpCJLBmlllE=; b=DV3LIs6M8IXIAoXupH/4PpgjyLxMWOOm/ZAdPk/e/4SzWf4nMH8+mD0EXfKGo48itB nJL0NmNNs0+R5z9bJBOedOksvJJ78hevG6kQxEcw1OYyEWwmu3teX4MN4jAfRHMHSC9i IPN8briEOKrn4f1BcgRrUoUI/C2gxWbOnKInHr50bmC6JXkjzpgSiTu3FsBApr7sWVhg aNlnExhOHMpdVKZT0aY3yM1rkk9ehQ+TeZcsaRskysf0bCTOwg4wJfqxC5hYWVrZjm+b tOYkdUEyhkAvc2iiuTm5kgsUya75UC2VNmwCagbQwKj8dbuLsi4ZDIRyUe0h4sQ9KW6x iFiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="iV33OeB/"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-87698-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87698-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f17-20020a170906139100b00a3ea034e5dasi961422ejc.57.2024.02.29.15.36.00 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:36:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87698-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="iV33OeB/"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-87698-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87698-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AC4F71F2352F for <ouuuleilei@gmail.com>; Thu, 29 Feb 2024 23:36:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 525EE13E7D5; Thu, 29 Feb 2024 23:35:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="iV33OeB/" Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4233F6D528 for <linux-kernel@vger.kernel.org>; Thu, 29 Feb 2024 23:35:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709249733; cv=none; b=beiGOjc3l2Z4wA9buBSUaQUzuul+DZJtQXcBaUNwvZhopov4BcVjiOCQpKok6pHWoOhEfm8wSUaVFklxbzZgDGnqprIbe10BkmXa/+m76Ps5i5/nupPNWPxXFNDxIc9LqoZWeiSQdoYT6vZEOA0X8LaWqx7LZbmdW+7fPX9KERc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709249733; c=relaxed/simple; bh=af0i+Z+NBmK8wTAcFrJRYhmqFQ66AAdLmiOFLw1OeN4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=axZaQieFAjKlu+R1N86sehmECXB8cDXuuuEgR6eG8OQpOo9jeaFiWR0aFC3njjqyHmxvQMPGk0jnTixw0tjz4ZBTlsOuKTvg0J1ufzluhwG1Cb45uNoMMiAEswS9WUN7CU/g8+4YsrR0qW54UpOePMYEX1bI4NKSQNUTjQGj3q4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=iV33OeB/; arc=none smtp.client-ip=209.85.215.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-5ce942efda5so1215729a12.2 for <linux-kernel@vger.kernel.org>; Thu, 29 Feb 2024 15:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709249730; x=1709854530; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qgeC0dWQiXHpXbv+RTu39Eq188gL97uOmLAZY2hF3fA=; b=iV33OeB/heUvveeMxMcuzWULjLQOcnaBkonkrwllHoMHT9+q6G7sgVqjqs9iqspm12 QqLO0jSpm/i2UNS+HjnS2KXgqhnLKSQP6OcHQpFiHakAVrmhl1N58ojk/wt3yspqp0Ff yc5+F5x++hWxSdiy8QHHczoGzyQwaSj8VBM50= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709249730; x=1709854530; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qgeC0dWQiXHpXbv+RTu39Eq188gL97uOmLAZY2hF3fA=; b=IttlemU2Hkm/SNP4vBqXpBb9700TggXg/uSJHXPZvAhexs4rHjyq4Ai7P6oypjafNu sH6E1FT2Kn3K5aIfHvrUC/Z0TU2EVo5BmUc6pmInqB8tR9ZzuojZuwtR9DwOPxevEI+j Laul4Z3soaT4hb7a9LkGJAedFKvefTVsqdqNqblWttLPiS/YBNNGfLnPBEyEf7wzWb5V 1oxTr9av8dlaoJpaDGg8RnJvAIT5jNgXJl11I6o0LGt6Ib/dm+PmTX7ITnsJZRbCrtgc +NGunGGdGv/hBhMJsQAquABTR/fMPQ+iIKKQGLV7APIUJ15zjB2zmcHHFbMp1bgseJet 1fmQ== X-Forwarded-Encrypted: i=1; AJvYcCWzftwf1/mjGPayi/16oSEm6daBxashAF2Jzg8hCUJBphuBbm4wgDHjJzt+brtZWmCW57BZ/yRHnt/NbmMHsxbsFOwU34ERIGtqosdA X-Gm-Message-State: AOJu0Yz9t85wPw5kd04q10lvdAWeWvGo7yqmhS45UNTKY6f6JRRealS6 RUHY7ycVNyvGfc/G8wSzbw0Shw2IR8GQn955kptNolIUztz6Hj4gaLutEJwbtA== X-Received: by 2002:a17:90a:9481:b0:29b:1964:3921 with SMTP id s1-20020a17090a948100b0029b19643921mr82708pjo.46.1709249730678; Thu, 29 Feb 2024 15:35:30 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id x24-20020a17090a531800b00298975077d0sm4146974pjh.19.2024.02.29.15.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:35:29 -0800 (PST) From: Kees Cook <keescook@chromium.org> To: Andy Shevchenko <andy@kernel.org> Cc: Kees Cook <keescook@chromium.org>, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: [PATCH 0/2] string: Convert selftests to KUnit Date: Thu, 29 Feb 2024 15:35:22 -0800 Message-Id: <20240229233432.work.675-kees@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=704; i=keescook@chromium.org; h=from:subject:message-id; bh=af0i+Z+NBmK8wTAcFrJRYhmqFQ66AAdLmiOFLw1OeN4=; b=owEBbQKS/ZANAwAKAYly9N/cbcAmAcsmYgBl4RS8DgHghW1lD3n4SWnltPLnr7H9SGtGAp+Br 8H0kDAa54GJAjMEAAEKAB0WIQSlw/aPIp3WD3I+bhOJcvTf3G3AJgUCZeEUvAAKCRCJcvTf3G3A Jn8kD/9JnIyBUTtwBNswGjX9Dv3u9HUZt9zvuY9Dmpb+fBXd/VSq9KauLA7vo2CrSnruGsZ9GYG o6/DQynkvUK2WSzaV/wcqovVciPJ+OZ9MuZ8N4Lj8dVsASz4wxNnU0rsCfg/A9q7q7ph3BUiV52 Y7V6udqf9+2ezuI/1mq5wdv3HrEvfqogMbwx3LPW+ZJRaBBqTAg7dqVRxU6eavWPzHxX67uVbg/ y/jfS89N4d8hanXtonuifHw0nFudU4SNW+C14EKC1UuqHxwQ2qR4iiXc0Mw1lPYmZrPoD2hG9DJ BG5Lw0AbVECzEk/je4GwaWQ/sBSh+ZfEaxx2xBD0ISJgyLmIlm60FL8BKtYAtjUFmqoMGeiXWGm qMlK+Y6SNHSPS37CJ/wrUz+OaSdEOZbV7dbrE7cP3T6HveouT5b2xj+Lb2weInPKQgjVXONukfU vI+xy+JgEArv/fcZGM4hRqx5vzdH8bZoXMWBLxw12SjE/nKA4VHHRU7DUs5/vL8F5FVebF2iuJx mAt5wfqbtoQeqELn+3BopODrgR5C/EhR3lKpe1K40kfQqaiogSXW9A5RBxHUAVkdl2LLYj5fi9a 57JjcO+5QckYCYZ8xE7U/EuOl+RJj81uG4BCU1EQeSPWHQ1Vbkn3q8C45GVe82YlTERf83zKmk9 pjpt1zYC ratD4aA== X-Developer-Key: i=keescook@chromium.org; a=openpgp; fpr=A5C3F68F229DD60F723E6E138972F4DFDC6DC026 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792278277511617989 X-GMAIL-MSGID: 1792278277511617989 |
Series |
string: Convert selftests to KUnit
|
|
Message
Kees Cook
Feb. 29, 2024, 11:35 p.m. UTC
Hi, I realized the string selftests hadn't been converted to KUnit yet. Do that. -Kees Kees Cook (2): string: Convert selftest to KUnit string: Convert helpers selftest to KUnit MAINTAINERS | 4 +- lib/Kconfig.debug | 12 +- lib/Makefile | 4 +- ...tring_helpers.c => string_helpers_kunit.c} | 160 +++++++++-------- lib/{test_string.c => string_kunit.c} | 166 ++++++------------ 5 files changed, 154 insertions(+), 192 deletions(-) rename lib/{test-string_helpers.c => string_helpers_kunit.c} (79%) rename lib/{test_string.c => string_kunit.c} (54%)