Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6383967rdb; Mon, 1 Jan 2024 22:54:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfQX1wAga7kGHF37PAw3yP+lebK3vfpPSsKi7EayzXeECxfqfYbll9n6J6dLOMu4iEA4uo X-Received: by 2002:a05:6a20:740f:b0:194:9750:fb98 with SMTP id n15-20020a056a20740f00b001949750fb98mr5011662pzd.103.1704178481072; Mon, 01 Jan 2024 22:54:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704178481; cv=none; d=google.com; s=arc-20160816; b=DHJ/kw2hNZwzCBV1hX107v1uViaun3nyIAtr8bTNpRB0JGHtYYbQIRu8F46pw9B+9k sgOv6tA7uAAnntSA0jT8GP8hhocHwUZfN2hWVlKijWVbFMThPC1FkYeYr/BGmcfn15Zl OFrKE+ZhY+JgISlDqUGtDx6T4wivSMr4S0BAIdRi7YVknVsTHsQqRTnTwjsrvve1Rxvo lWzyAcKPnQ5i0jTw2cQNio0MOBpD7Ct8wQWv0SLcNWXhbolHKROWcmxZyPig/9Lx51Pu 7GvtuN/x+m8MyYY65E6sW9zs34NcWAgBRcwTqUJesN2uqy4oF5gtDRoc0B+MWEy1smZN bkEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=R8F/+iXsJjJp5cY3eRGqTDaoPQDTgw92LMUvnxufrxc=; fh=KhNbk3YkLUHvy3gZvhtA7tV0Oo195F1pPGD1Hen6r2M=; b=PWsy6V0gQHGdYOvNsroOsb81OFqnqJrePLUTdJNgkHJrVHxPyKeizjbwamBuykuNCi IoR5FKskiMy4f4oDwOPhrX8gumFfPWaU8bZOzbcu8XDk7yBXDOcrt3LyfiNbhhnjZTpc a3yrwlK7OUK+Hnyz+Z1OAy3AFQmyhnVxJ3jG0BuYR5MQwvd7E41d1hFlhXClABB7IXFz crxIvKDddFz3fLujd48KPD+UYNVddeEuEBbYG4oJRn/V/smIwmhrKGcEw6Fl5XOmXhpk ycxKo86DBcfTnO6x3yPvqs2Z3Uan0xCFZbexxgXEAELKja0rNGPeWk/D35VM52dkaf+6 F4CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Tug/gzpd"; spf=pass (google.com: domain of linux-kernel+bounces-14104-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14104-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id jc11-20020a17090325cb00b001d3ed1548b4si19372201plb.476.2024.01.01.22.54.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 22:54:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14104-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Tug/gzpd"; spf=pass (google.com: domain of linux-kernel+bounces-14104-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14104-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1FF0FB208AA for ; Tue, 2 Jan 2024 06:54:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7924C20F9; Tue, 2 Jan 2024 06:51:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Tug/gzpd" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (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 79D0614A82; Tue, 2 Jan 2024 06:51:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-5ce2aada130so1191473a12.1; Mon, 01 Jan 2024 22:51:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704178267; x=1704783067; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=R8F/+iXsJjJp5cY3eRGqTDaoPQDTgw92LMUvnxufrxc=; b=Tug/gzpddvCSk96Dcmz8qYJ9DcsN8rZKCzAi6itaKSnlrLuGHQozhdgiAeTU1qWRU9 RMf97AqAmGoOS1/dR/75Z4cvcfJjb/J691V8wybVbZ58jKFaYfasc+n3aYPHr+pQyLAZ 0R7x8fmzwtkNsL+POCr+WXVqLU16/T35n7tXIONIGCTZJYayh4ncili6a3pqgHxeHfjb lpjnsAPvVojU5dcOD77Az4if/4jmi58EK72mFy6uEhvIH5/bKxDkNHZkNz4/fXqk4xDQ O8r2Gp7nBB9JV1Ksnxwx65jh60ztD3QHEuPVIHQE+SRJ7uU7td4WbxNypDX884q5S4uk 3U0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704178267; x=1704783067; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=R8F/+iXsJjJp5cY3eRGqTDaoPQDTgw92LMUvnxufrxc=; b=hO8bpeE+Afv+qYID9lt5o3F84pMKRCQg7rsZ5bYAVHlXXxmUihA6Nemycj1ci05zua 8A2wqsfuLVkv62CQGSS4H96NfC4OpqmkDDet9ltIyp+1KNKpdOZXurlgsE7yOzFl326/ 6AILqsKFU2JyPsBchThAgQ4YdiayB65mDTWfSSsSKC1BgzKCicJOWZHREGG01xoS4ZSA ofKy8ittETU9ITFDSVRhU5iNbC/2ejAoGb6+yzNDKbMP8pCkmkopbY1oV1fzWg1TnT2E i0M+eywezEPjGp14h33wJKZIB42OV7GBxsCFSapPlpFF8poh88wnn/o18+ud0oJODiuL EnXg== X-Gm-Message-State: AOJu0YydOsDYxmLb6dSi5G7uwpYhCBBU2B0ZqRVqYa+4X+iC5yC8zGBs xe77iccxjLmV2FgbHpbrzjs= X-Received: by 2002:a05:6a20:1443:b0:197:1a55:7dcf with SMTP id a3-20020a056a20144300b001971a557dcfmr436231pzi.50.1704178266809; Mon, 01 Jan 2024 22:51:06 -0800 (PST) Received: from Laptop-X1 ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id q23-20020a170902b11700b001d4abf0a28csm4714023plr.132.2024.01.01.22.51.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 22:51:05 -0800 (PST) Date: Tue, 2 Jan 2024 14:51:00 +0800 From: Hangbin Liu To: Yujie Liu Cc: Guillaume Nault , netdev@vger.kernel.org, Paolo Abeni , David Ahern , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, lkp@intel.com, kernel test robot Subject: Re: [PATCH v2 net-next] selftests/net: change shebang to bash to support "source" Message-ID: References: <20231229131931.3961150-1-yujie.liu@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jan 02, 2024 at 01:51:56PM +0800, Yujie Liu wrote: > > Looks like it'd be simpler to just replace the "source" commands with > > "." and leave the shebang as is (unless there are other bash-specific > > constructs in these scripts of course). > > > > Generally speaking, I think we should avoid madating a specific shell, > > unless that really simplifies the test script (which is not the case > > here). > > Hi Guillaume, > > Thanks for the comments. As this is related with a large patch series from > Hangbin, and other scripts use "source" during the conversion, so we may > need some input from Hangbin. > > Hi Hangbin, > > Could you please share your comments on this? Would you like to replace > "source" with "." for these two specific scripts as Guillaume suggested, > or change the shebang from "sh" to "bash"? Both works for me :) Thanks Hangbin