Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp791187ybh; Wed, 22 Jul 2020 13:24:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVE5ZV4VZ+OqNvhGTnmAGxD1fDLthX1LrbCbwHzb191qQyNdpEo5V4zOTH6fMNeanKwqyl X-Received: by 2002:aa7:db11:: with SMTP id t17mr1065476eds.365.1595449496035; Wed, 22 Jul 2020 13:24:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595449496; cv=none; d=google.com; s=arc-20160816; b=E7MoFlQkqPmUkNI1PIy/qrBo6/XuqkKjWKh3JYASwRf0k3+bgvLIg6eyANsr/aZ+sZ Ps7vcCxfG5baqpcotrFv78U0T8Qa6lGDqO9GZugt0GBNq66kHm0o33vQQzY2k7IrWiW9 Bgb6hsomLzJ34e2jtDjW03PAvC0i98ppJ+TdOebQr0bWDeO9I+1tq0JwtE5rSqAqf04d oq6LkZT3PSosT/tWC9OPIS3Abo7uyHhw1k/6hG3tMxE1HyZaq8j8xJyC4QGPl+PGfbsL TL+4JAP8s8jA7O1MbCN910OzPHPSiN+42gMWY6/3fyf+8VVjHUSuIRKVfzVwkw0ViRD/ 7Ebg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=5QkphWxYyazumKClniN3MUn39GFFNV/nqPhj6OvEhnM=; b=0JOlNVL63hgmPHmuZM0TUR4g/+fElQowUOvgbXnChxFjp2UAGOMFpE+EeqpiEKgMV7 SzeYS+G5CHi4+XfArqGjbMC7CNkBG6hj314IPl1dKkrHBucPV7EC8eUYGG7XhRr7z0D4 r9+FuPCu92hjanhWLj0/3SbihyrRODwA4qxIgJmqbm//u8ElN/yOxgfa/pECoEz/vhxV UFymKOWeGBv5C4cRQHYp36G8MTYyTtcGtt4bTN8cfwOPsYIatpHLooyASmTMsxBMNyPI /cL+QWObMXL5mq3w8RM4XiG4Xr2GFeXaAICMAh5eV9sZE96FEasoR4cnvcft0XcWbArw NrgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@massaru-org.20150623.gappssmtp.com header.s=20150623 header.b=WxmbK4zL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p7si640637ejc.96.2020.07.22.13.24.33; Wed, 22 Jul 2020 13:24:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@massaru-org.20150623.gappssmtp.com header.s=20150623 header.b=WxmbK4zL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726730AbgGVUWK (ORCPT + 99 others); Wed, 22 Jul 2020 16:22:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbgGVUWK (ORCPT ); Wed, 22 Jul 2020 16:22:10 -0400 Received: from mail-yb1-xb42.google.com (mail-yb1-xb42.google.com [IPv6:2607:f8b0:4864:20::b42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2450C0619DC for ; Wed, 22 Jul 2020 13:22:09 -0700 (PDT) Received: by mail-yb1-xb42.google.com with SMTP id v9so1664592ybe.3 for ; Wed, 22 Jul 2020 13:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=massaru-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5QkphWxYyazumKClniN3MUn39GFFNV/nqPhj6OvEhnM=; b=WxmbK4zLKLPTSwQ1E7baf6yDcVLqwcJsyAhxGJR3HqQXrPyLqw80Ilsz4CmV98R3E3 ykXnZbm22OEkV71kwSuxesfswDStT/W7VQsHh5BYN3mqSpnl92ADXaYVTEkA50YlrJBx eX27OG4A5GtogpwQqq9cNK6uhUCwa7ltuuXg6YBp1Vn8HrJAevfa13SL064Y8IjVi2AV x4VlSbu6eFUXR0wtXKPl6ISo7KiWovLNe00yv6GKSB754nY64cFgkTIhKunjaXspBlgE zkMsHCKN1X0eajnW2LMh7Mq03QC9Tr/Quph6S4ULRkZF54a6Ug93P8sOt9asK5HNUTkX /9Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5QkphWxYyazumKClniN3MUn39GFFNV/nqPhj6OvEhnM=; b=S5k5vS3sDBS023Qa1VtsPCgKlkmObIAqev5Qg30Sa5cW5Q8cQp1C6d8WPPiURkpZLa 1jw3YbkCycyTTenpFUyAiiq9Mlo50A8lJoPn4G5l5Nu1+6YfcHOppICAxRMdGyscyoeE gg4AR5CzQlkwaW84VNMFfETQozcbTjzUCEKWgBIicP14gd7D1r+fMKeYOlAiljia/5Ht FXIPiHBXw2xkhZtUqJAo250LdUuBo8+AZj6NW9dm7vhKu5xT7k3/yPqozZTwS3DDvGDL Sy8764+FAiUv3IlZFVrnF1v04cylcV+mSYk5GBhGA2v9IkwHD3GCHwXGfXw2BH8oLEtN 9aUw== X-Gm-Message-State: AOAM5319G/3FonNvQW/9bSHrJsZMqNHJQz5srzv7wSD5TKY/XH0zUw6G 8RCdU0I68pzFIa3XkzwUitr/+7LLP2g7eTkZ45WDYnAQ6RYPu8iV X-Received: by 2002:a25:bb0d:: with SMTP id z13mr1566548ybg.488.1595449329066; Wed, 22 Jul 2020 13:22:09 -0700 (PDT) MIME-Version: 1.0 References: <20200721174654.72132-1-vitor@massaru.org> <202007211207.5BAA9D8D@keescook> <202007211911.666E080@keescook> <202007221244.4E3C9E45@keescook> In-Reply-To: <202007221244.4E3C9E45@keescook> From: Vitor Massaru Iha Date: Wed, 22 Jul 2020 17:21:33 -0300 Message-ID: Subject: Re: [PATCH v3] lib: Convert test_user_copy to KUnit test To: Kees Cook Cc: KUnit Development , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List , Brendan Higgins , David Gow , Shuah Khan , linux-kernel-mentees@lists.linuxfoundation.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 22, 2020 at 4:45 PM Kees Cook wrote: > > On Wed, Jul 22, 2020 at 03:29:27PM -0300, Vitor Massaru Iha wrote: > > On Tue, Jul 21, 2020 at 11:12 PM Kees Cook wrote: > > > > > > On Tue, Jul 21, 2020 at 07:19:12PM -0300, Vitor Massaru Iha wrote: > > > > When you talk about end-of-test summary, is it what is written in > > > > dmesg and not the kunit-tool? > > > > > > Right, if I build this as a module and do "modprobe user_copy_kunit", > > > what will show up in dmesg? > > > > No, It doesn't. I'll put the messages again. > > Would it be possible to add that behavior to the core KUnit output? Then > all module-based tests would include a summary line? I will check what can be done.