From patchwork Thu Jan 21 13:32:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1429838 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DM3H75Zk4z9sS8 for ; Fri, 22 Jan 2021 00:32:50 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 8B85A3C639B for ; Thu, 21 Jan 2021 14:32:46 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [217.194.8.4]) by picard.linux.it (Postfix) with ESMTP id 070D33C3043 for ; Thu, 21 Jan 2021 14:32:43 +0100 (CET) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-4.smtp.seeweb.it (Postfix) with ESMTPS id AF2E01000A6D for ; Thu, 21 Jan 2021 14:32:43 +0100 (CET) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id B08BCAF6C; Thu, 21 Jan 2021 13:32:42 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Thu, 21 Jan 2021 14:32:30 +0100 Message-Id: <20210121133233.29007-1-pvorel@suse.cz> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-4.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-4.smtp.seeweb.it Subject: [LTP] [PATCH v4 0/3] Kernel module detection (own implementation) X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-team@android.com, Steve Muckle , Sandeep Patil Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Hi, changes v3->v4: * fix memory leaks (add missing free()) * optimize handling input string (avoid unnecessary fgets()) * add missing static * new commit: re-add tst_require_drivers veth in tst_net.sh I'm for merging this variant which works with text files. I haven't check the binary format yet, but it'd would most likely require using libkmod. Do we want that? Kind regards, Petr Petr Vorel (3): lib: Fix kernel module detection on BusyBox zram: Fix module detection on BusyBox tst_net.sh: Require veth for netns (again) lib/tst_kernel.c | 104 ++++++++++++++++-- .../kernel/device-drivers/zram/zram_lib.sh | 6 +- testcases/lib/tst_net.sh | 1 + 3 files changed, 95 insertions(+), 16 deletions(-)