From patchwork Tue Oct 15 01:08:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Zhijian X-Patchwork-Id: 13835600 Received: from esa4.hc1455-7.c3s2.iphmx.com (esa4.hc1455-7.c3s2.iphmx.com [68.232.139.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 992683BBF6; Tue, 15 Oct 2024 01:08:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.139.117 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728954531; cv=none; b=CDc9AXy7loiRexIKg1VDzfzBy3wfh4ARpxYPUEUCWoXi5w99I4IqaVlogQRIWk0k6WzbvisislFOHzia0vnyvrA2+xMNlpddixfIYjJvQrEd3srN93Id7+Y1e3amgCKqdQSvnIBYKOysyt8hZ+RfNQP3llahQHdFdv0c3Cy4O2I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728954531; c=relaxed/simple; bh=FZrqo3amabV9wiV7VHQPPHBMbvLaTfowB+bVsRenlRs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=X5TpQdDst4c/5OW7JNU7F6qxRMuQaBwVSQgbar5sNrDbd6KTomSOLNrL/c2ulM7x2SCwEmNsrZUfhOD6A78H1eHZtOLHluGMas8hoyNMl+vSfI1vtR2pKvTv4TlE5eBCcZZSSUQgne/H6elQ2oiK0NTibhY7w7CzVHXhkJCjwTY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com; spf=pass smtp.mailfrom=fujitsu.com; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b=pb1PAwVh; arc=none smtp.client-ip=68.232.139.117 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b="pb1PAwVh" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1728954530; x=1760490530; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FZrqo3amabV9wiV7VHQPPHBMbvLaTfowB+bVsRenlRs=; b=pb1PAwVhmoEHjVtlEU2LDjz8SoeMCOmD4HK52I8tWK580dgdwhTOAYcL vvun1thC03IrmwDPsT2bZnzbFuCkByD4KBnAc0Hg/Q8OUEKRwvx+rQcrh L5ov+TFCj+vskdSJO62pybW5094+kWBfoWzrKF4zL1YRKLZzcVvaE5f5t QkvTKmeRQYYMcuTv6sjMigsVvOdZIu8uuXlouf/XPaM4wxxjbI4FBxqyY FJrax2K/RuGyVdE1mO/SLkHmV1NHlL2hDJyX/ZXuBNmXUfmP7ApdahqUE NhfJ10FxKiAuv/EbHs/vgsl75xeafURYlFPKIK+iRCNS4nDDKG7orc9Je w==; X-CSE-ConnectionGUID: sIWWA0cpTdKCnpF9w46wkQ== X-CSE-MsgGUID: DLPSySMXTKS5wPwE8/i7ug== X-IronPort-AV: E=McAfee;i="6700,10204,11225"; a="176929692" X-IronPort-AV: E=Sophos;i="6.11,204,1725289200"; d="scan'208";a="176929692" Received: from unknown (HELO yto-r3.gw.nic.fujitsu.com) ([218.44.52.219]) by esa4.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2024 10:07:37 +0900 Received: from yto-m1.gw.nic.fujitsu.com (yto-nat-yto-m1.gw.nic.fujitsu.com [192.168.83.64]) by yto-r3.gw.nic.fujitsu.com (Postfix) with ESMTP id C2EB9E8529; Tue, 15 Oct 2024 10:07:35 +0900 (JST) Received: from kws-ab3.gw.nic.fujitsu.com (kws-ab3.gw.nic.fujitsu.com [192.51.206.21]) by yto-m1.gw.nic.fujitsu.com (Postfix) with ESMTP id F3EA5CF7E5; Tue, 15 Oct 2024 10:07:34 +0900 (JST) Received: from edo.cn.fujitsu.com (edo.cn.fujitsu.com [10.167.33.5]) by kws-ab3.gw.nic.fujitsu.com (Postfix) with ESMTP id 8CD5D20071A00; Tue, 15 Oct 2024 10:07:34 +0900 (JST) Received: from iaas-rdma.. (unknown [10.167.135.44]) by edo.cn.fujitsu.com (Postfix) with ESMTP id DC0051A000B; Tue, 15 Oct 2024 09:07:33 +0800 (CST) From: Li Zhijian To: linux-kselftest@vger.kernel.org, Shuah Khan Cc: linux-kernel@vger.kernel.org, Li Zhijian Subject: [PATCH 1/3] selftests: Add a few missing gitignore files Date: Tue, 15 Oct 2024 09:08:15 +0800 Message-ID: <20241015010817.453539-1-lizhijian@fujitsu.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSS-9.1.0.1417-9.0.0.1002-28732.003 X-TM-AS-User-Approved-Sender: Yes X-TMASE-Version: IMSS-9.1.0.1417-9.0.1002-28732.003 X-TMASE-Result: 10--5.187600-10.000000 X-TMASE-MatchedRID: JUGAxiLh1cMhiKpapiFQUqoXHZz/dXlxTJDl9FKHbrnBsf5qt44jZ0/m RGqrA8qmz5HYWCESGTAoP627gD3TuuBRuAss+FbmEXjPIvKd74DzWEMQjooUzUhnD/tEhIxQQDz RyendZRu3ltet8sMG9oAy6p60ZV62Mhe627A+8aHdB/CxWTRRu25FeHtsUoHuQSdiBi2c5Imk2k 7Is0dul3K67d60oFMtLDbJbukAoaRoBmTSwRxjXg== X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0 Binary files should be added to .gitignore 'git status' complains: Untracked files: (use "git add ..." to include in what will be committed) alsa/global-timer alsa/utimer-test filesystems/statmount/statmount_test_ns mm/hugetlb_dio mm/pkey_sighandler_tests_32 mm/pkey_sighandler_tests_64 net/netfilter/conntrack_reverse_clash Signed-off-by: Li Zhijian --- tools/testing/selftests/alsa/.gitignore | 2 ++ tools/testing/selftests/filesystems/statmount/.gitignore | 1 + tools/testing/selftests/mm/.gitignore | 2 ++ tools/testing/selftests/net/netfilter/.gitignore | 1 + 4 files changed, 6 insertions(+) diff --git a/tools/testing/selftests/alsa/.gitignore b/tools/testing/selftests/alsa/.gitignore index 12dc3fcd3456..1407fd24a97b 100644 --- a/tools/testing/selftests/alsa/.gitignore +++ b/tools/testing/selftests/alsa/.gitignore @@ -1,3 +1,5 @@ mixer-test pcm-test test-pcmtest-driver +global-timer +utimer-test diff --git a/tools/testing/selftests/filesystems/statmount/.gitignore b/tools/testing/selftests/filesystems/statmount/.gitignore index 82a4846cbc4b..66a21f289453 100644 --- a/tools/testing/selftests/filesystems/statmount/.gitignore +++ b/tools/testing/selftests/filesystems/statmount/.gitignore @@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only /*_test +statmount_test_ns diff --git a/tools/testing/selftests/mm/.gitignore b/tools/testing/selftests/mm/.gitignore index da030b43e43b..2ac11b7fcb26 100644 --- a/tools/testing/selftests/mm/.gitignore +++ b/tools/testing/selftests/mm/.gitignore @@ -51,3 +51,5 @@ hugetlb_madv_vs_map mseal_test seal_elf droppable +hugetlb_dio +pkey_sighandler_tests* diff --git a/tools/testing/selftests/net/netfilter/.gitignore b/tools/testing/selftests/net/netfilter/.gitignore index 0a64d6d0e29a..eef8d5784e94 100644 --- a/tools/testing/selftests/net/netfilter/.gitignore +++ b/tools/testing/selftests/net/netfilter/.gitignore @@ -4,3 +4,4 @@ connect_close conntrack_dump_flush sctp_collision nf_queue +conntrack_reverse_clash From patchwork Tue Oct 15 01:08:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Zhijian X-Patchwork-Id: 13835599 Received: from esa8.hc1455-7.c3s2.iphmx.com (esa8.hc1455-7.c3s2.iphmx.com [139.138.61.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56688DDBB; Tue, 15 Oct 2024 01:08:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=139.138.61.253 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728954490; cv=none; b=OJS0wNR8BVpq/TFykbsbTrCdSduWU+5/3LF2SPgt12CYFT8NQxrGGBXcjisc75cVgUTy92PudzMldSm7Rl5LTQEyxSXtR+eBKnuAfFUW4UWHE+IZm9pynU0fObXmsxD5814Pu/4lhuqZdYF2LUBweV5A1KZOIrNAPZvD/RFxVKA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728954490; c=relaxed/simple; bh=tv5IX+ovqKeWK7u83IH4qp3NmpBqy6RR5KBT2nTwQ/Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Vs4Vp3oVX0PeMEKS2VUpRaQMV2g+Lig3x+BoKZWVBj+AlnOnRmT11YrUlgvfwspRKgXQySvqrDlRbXToghKBd4FTI3jWFHvnbhjJzAk3MM1sUjmSlb6tFgDI0fwCxgmgLJTJ6l1n6zCYQ0pApijhv2wPQXdrgErwHfWcDVRQeSg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com; spf=pass smtp.mailfrom=fujitsu.com; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b=WJRs2hV2; arc=none smtp.client-ip=139.138.61.253 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b="WJRs2hV2" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1728954488; x=1760490488; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tv5IX+ovqKeWK7u83IH4qp3NmpBqy6RR5KBT2nTwQ/Q=; b=WJRs2hV2Ilelj+ULSYGdEjq82Cc1c7F7EPMiPsD8wbzwIfDt8OCDuTra uH66+ewzqlSfx3rf43dO4oSAshdG2V5dO2b6HpiNpJESl6Z2d0QTFZwD9 CNHMVwkRjG5CjghTjCHEWiwBqMEWU9rHSOn/QgHsknx01L0eeYH/UTJ4w xeE1M01yGtycaTFz5HMMirB8jXXTMI4eTn9rRxV8Z6wr37WLScpaFGaWr qjNAb1doycRwR3OMgAK+Dx9Ns1h5J2v803jLf/zWiLUSGCwXtSgwe6HOr aNrF//8Y+amAg3wkJPU48Q/eH3D2xCVqVrHDgX+0LZNuJ55yrvMwVNm/2 w==; X-CSE-ConnectionGUID: VsVHaeNjRn684VMovI6MHw== X-CSE-MsgGUID: emeS+53kQe2Vz2fyyAZyeg== X-IronPort-AV: E=McAfee;i="6700,10204,11225"; a="164725997" X-IronPort-AV: E=Sophos;i="6.11,204,1725289200"; d="scan'208";a="164725997" Received: from unknown (HELO yto-r3.gw.nic.fujitsu.com) ([218.44.52.219]) by esa8.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2024 10:07:38 +0900 Received: from yto-m2.gw.nic.fujitsu.com (yto-nat-yto-m2.gw.nic.fujitsu.com [192.168.83.65]) by yto-r3.gw.nic.fujitsu.com (Postfix) with ESMTP id 7B0D5E852C; Tue, 15 Oct 2024 10:07:36 +0900 (JST) Received: from kws-ab4.gw.nic.fujitsu.com (kws-ab4.gw.nic.fujitsu.com [192.51.206.22]) by yto-m2.gw.nic.fujitsu.com (Postfix) with ESMTP id AE069D511C; Tue, 15 Oct 2024 10:07:35 +0900 (JST) Received: from edo.cn.fujitsu.com (edo.cn.fujitsu.com [10.167.33.5]) by kws-ab4.gw.nic.fujitsu.com (Postfix) with ESMTP id 414206BA7F; Tue, 15 Oct 2024 10:07:35 +0900 (JST) Received: from iaas-rdma.. (unknown [10.167.135.44]) by edo.cn.fujitsu.com (Postfix) with ESMTP id 4F35B1A01E9; Tue, 15 Oct 2024 09:07:34 +0800 (CST) From: Li Zhijian To: linux-kselftest@vger.kernel.org, Shuah Khan Cc: linux-kernel@vger.kernel.org, Li Zhijian , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: [PATCH 2/3] selftests/net: Fix ./ns-XXXXXX not cleanup Date: Tue, 15 Oct 2024 09:08:16 +0800 Message-ID: <20241015010817.453539-2-lizhijian@fujitsu.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20241015010817.453539-1-lizhijian@fujitsu.com> References: <20241015010817.453539-1-lizhijian@fujitsu.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSS-9.1.0.1417-9.0.0.1002-28732.003 X-TM-AS-User-Approved-Sender: Yes X-TMASE-Version: IMSS-9.1.0.1417-9.0.1002-28732.003 X-TMASE-Result: 10--0.683100-10.000000 X-TMASE-MatchedRID: lbdkQWb+CNa+AcfZRlRvHuOnF2j8nBWbn5nfR7I2dFNlmPP/XnGELrmK lv3K7lvCloSrM+MzMAEa/Rm8RmNZp6s4CIwqUsM8rMZ+BqQt2NrBOVz0Jwcxl6vCrG0TnfVUg9x e4gtUJtonayl/4MJ4nGMemTaDph9uYPx7yddt9jKeAiCmPx4NwGmRqNBHmBveafSbrzwSjfwqtq 5d3cxkNXiltRsZXo+3UppxeetCusqmTKwyS/M9OKJ605sIm6Udg2SiYCo8mFfuNSBApl5QIs8Ue T0AOb1weaIz6J16T197bWtV+OQFC/4Bx1weaSflFcUQf3Yp/ridO0/GUi4gFb0fOPzpgdcEKeJ/ HkAZ8Is= X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0 ``` readonly STATS="$(mktemp -p /tmp ns-XXXXXX)" readonly BASE=`basename $STATS` ``` It would be a mistake to write to $BASE rather than $STATS, where $STATS is used to save the NSTAT_HISTORY and it will be cleaned up before exit. Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Signed-off-by: Li Zhijian --- Cc: netdev@vger.kernel.org --- tools/testing/selftests/net/veth.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/net/veth.sh b/tools/testing/selftests/net/veth.sh index 4f1edbafb946..457312ef135a 100755 --- a/tools/testing/selftests/net/veth.sh +++ b/tools/testing/selftests/net/veth.sh @@ -46,8 +46,8 @@ create_ns() { ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V6$ns/64 nodad done - echo "#kernel" > $BASE - chmod go-rw $BASE + echo "#kernel" > $STATS + chmod go-rw $STATS } __chk_flag() { From patchwork Tue Oct 15 01:08:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Zhijian X-Patchwork-Id: 13835601 Received: from esa5.hc1455-7.c3s2.iphmx.com (esa5.hc1455-7.c3s2.iphmx.com [68.232.139.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F69E82890; Tue, 15 Oct 2024 01:08:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.139.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728954533; cv=none; b=d8cx76N6dQna3rEaE7Qxu8LzGNwM7Gu3Pg/A/kWq9rtax5Wt8E9/WPmO0O06pQwfpYpiac3bpvxaklkhpPVKPIRE8W9aXxiGZ9utoECSXlcHf9VOg6aD/rHeCOJggIHuYObmJKz/b1cSRcpjei6z0epTgnc7Y9AvaXvXxBHAi9w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728954533; c=relaxed/simple; bh=FYawhF9gZT0clVcL2KVukGITmTJeMlLSK+4R7Jc9UJM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=enuH6HnpeSd7mTE56ZGcEnui2MMGukTOOJc9VIwV320tfYh+qr6VOow3lXj9MeTX4q4CAeOxI+SXKzwM1TpNwYX2z3yCgAeBVioV/p8yP1pyh8zINEiw/1KKESzNPm+aXJbGXXjsEeSaDdSlQr3QaEmMY2/dq2dkT2F6IggRfAs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com; spf=pass smtp.mailfrom=fujitsu.com; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b=YihReD8p; arc=none smtp.client-ip=68.232.139.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fujitsu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.b="YihReD8p" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1728954530; x=1760490530; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FYawhF9gZT0clVcL2KVukGITmTJeMlLSK+4R7Jc9UJM=; b=YihReD8p+sP/Pa/DPtsS88qVflyzc7lNTxiBnR6XCrggjZOC/HQcQoih 3xFiN+vzcQZpWzuPRy0LuifSh8R4QWE+76dV/8l7VCio6xq3XelOek2Lc Gcn883Dr1sVvPTAcP2vrQBRkIxsr6t3Mvv4Itf8hMezrqf8ZVaea8jkcQ tmEb+GYrFxgmv9Tx2tj9vU/Od8zIcdgID9rxFk8wNDv64MhWxeOpqtDBg qmzzZZ5oRndj4UzlhCC/LRhk5QP8XLaiMYb6o0SaTjmclcbmC8alvK+SD 0rFoiovVH8LPu2vZXf5m1RM25/9gqWk4TY0tGHuiZqwtNG1yUDsyoip15 w==; X-CSE-ConnectionGUID: jvkhFroATiiFKCsILigaig== X-CSE-MsgGUID: COJx4A2zSlemAkaV3uUCAg== X-IronPort-AV: E=McAfee;i="6700,10204,11225"; a="175952434" X-IronPort-AV: E=Sophos;i="6.11,204,1725289200"; d="scan'208";a="175952434" Received: from unknown (HELO yto-r2.gw.nic.fujitsu.com) ([218.44.52.218]) by esa5.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2024 10:07:37 +0900 Received: from yto-m4.gw.nic.fujitsu.com (yto-nat-yto-m4.gw.nic.fujitsu.com [192.168.83.67]) by yto-r2.gw.nic.fujitsu.com (Postfix) with ESMTP id B9163C68E5; Tue, 15 Oct 2024 10:07:36 +0900 (JST) Received: from kws-ab4.gw.nic.fujitsu.com (kws-ab4.gw.nic.fujitsu.com [192.51.206.22]) by yto-m4.gw.nic.fujitsu.com (Postfix) with ESMTP id F2D7DC56D6; Tue, 15 Oct 2024 10:07:35 +0900 (JST) Received: from edo.cn.fujitsu.com (edo.cn.fujitsu.com [10.167.33.5]) by kws-ab4.gw.nic.fujitsu.com (Postfix) with ESMTP id 90F5F6BD6D; Tue, 15 Oct 2024 10:07:35 +0900 (JST) Received: from iaas-rdma.. (unknown [10.167.135.44]) by edo.cn.fujitsu.com (Postfix) with ESMTP id 210CA1A000B; Tue, 15 Oct 2024 09:07:35 +0800 (CST) From: Li Zhijian To: linux-kselftest@vger.kernel.org, Shuah Khan Cc: linux-kernel@vger.kernel.org, Li Zhijian Subject: [PATCH 3/3] selftests: ignore output files and clean them in Makefile Date: Tue, 15 Oct 2024 09:08:17 +0800 Message-ID: <20241015010817.453539-3-lizhijian@fujitsu.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20241015010817.453539-1-lizhijian@fujitsu.com> References: <20241015010817.453539-1-lizhijian@fujitsu.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSS-9.1.0.1417-9.0.0.1002-28732.003 X-TM-AS-User-Approved-Sender: Yes X-TMASE-Version: IMSS-9.1.0.1417-9.0.1002-28732.003 X-TMASE-Result: 10--7.072700-10.000000 X-TMASE-MatchedRID: tlYlTTNZdz+AIpLP/qXbGbnHu4BcYSmtegIHHX2L4YyjEIt+uIPPOBka AZoftHktcMrdJyab/PEN81EjEf6F2+BRuAss+FbmCtzGvPCy/m42ZWOmuJUS2bgbJOZ434BshFA nTzcsrmW1h3Ci3ttLreihEDlL1+arGAdnzrnkM48URSScn+QSXt0H8LFZNFG7bkV4e2xSge7pEy O57i/rZERHSQjgfIu/WoQbvMANSI1vZlbU822PH8WFcyN1Agmm X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0 After `make run_tests`, the git status complains: Untracked files: (use "git add ..." to include in what will be committed) cpufreq/cpufreq_selftest.dmesg_cpufreq.txt cpufreq/cpufreq_selftest.dmesg_full.txt cpufreq/cpufreq_selftest.txt zram/err.log Signed-off-by: Li Zhijian --- tools/testing/selftests/cpufreq/.gitignore | 1 + tools/testing/selftests/cpufreq/Makefile | 1 + tools/testing/selftests/zram/.gitignore | 1 + 3 files changed, 3 insertions(+) create mode 100644 tools/testing/selftests/cpufreq/.gitignore create mode 100644 tools/testing/selftests/zram/.gitignore diff --git a/tools/testing/selftests/cpufreq/.gitignore b/tools/testing/selftests/cpufreq/.gitignore new file mode 100644 index 000000000000..f684d27f5d91 --- /dev/null +++ b/tools/testing/selftests/cpufreq/.gitignore @@ -0,0 +1 @@ +cpufreq_selftest.* diff --git a/tools/testing/selftests/cpufreq/Makefile b/tools/testing/selftests/cpufreq/Makefile index c86ca8342222..9b2ccb10b0cf 100644 --- a/tools/testing/selftests/cpufreq/Makefile +++ b/tools/testing/selftests/cpufreq/Makefile @@ -3,6 +3,7 @@ all: TEST_PROGS := main.sh TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh +EXTRA_CLEAN := cpufreq_selftest.dmesg_cpufreq.txt cpufreq_selftest.dmesg_full.txt cpufreq_selftest.txt include ../lib.mk diff --git a/tools/testing/selftests/zram/.gitignore b/tools/testing/selftests/zram/.gitignore new file mode 100644 index 000000000000..b4a2cb6fafa6 --- /dev/null +++ b/tools/testing/selftests/zram/.gitignore @@ -0,0 +1 @@ +err.log