Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1646161ybg; Thu, 4 Jun 2020 15:28:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGHIL6D+zKFjWThnCdLaXUq4u9zawxXrT7AZ78McxL4wDjKtYPAg79f4brFVSO72rDokT7 X-Received: by 2002:a05:6402:b37:: with SMTP id bo23mr6625986edb.24.1591309726561; Thu, 04 Jun 2020 15:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591309726; cv=none; d=google.com; s=arc-20160816; b=XOGyMZudqYS5JpDwi+Oz3KihhLtHTONlV2uEmQR74N5Ha1U/tciQxyc83d+lZe7Wv+ LnGIjCv115pLIuxLsi5u5Vzd7PClepN2l6+v4b7OGmHWLKEd3JHZe8wDKUbruh7feM7t SCgFG0E0aNAvFzb9GLzGqPuEkbQpsxxOQmoZv+B89ZBGpg0Xtu7ijvaNUDOFdlC46442 r6nJOkjwYXJiRx7AlBSHCK+Jvy2sgdXNVlGQIgJoqjdIq5pYdXms4p/wBqXoZyVw61lU weEeu/6aKtdsBPVgYdf4Guul2M2n7ZXXvAYkjMKNhbi18rIXWNDOLnBtYq0OYL8tltHc 8mNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=t8BNrQ5EvO5CN1P54SLRxErq24g55GKkGlzRsUwueE8=; b=EG3Ahtnq+wXni1edFMS+oEcHcFpsNdlaDerL4PS62lBQT3NF9DRq54Evad2Mnt+LfF e35nWrBaRKf/rCcgRVWnnym9X6/MPUIV7J7CBLRAyqUMDGEK/hwLli6iVc+Ehy9M4S+t KheTJnqJjxKcP+ScqxPTenZrVne58NamZDP3S+ZtoPUXs1lqaN2op0DFvY0PMEthXU+T C5eURV89Zl+RY5Ki0B9WUGz/iln2y73pImgRRQIV2PWP/SsuYWoluIVRyu2b9Av3K+GS 5t37f+y3wPA0ql5fnCqKztMLXD08QfLmvd8/C0zKNQRUSUhHQ2YAyYeJJ2ymZrEtz6xJ UBdA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n12si2421796ejh.152.2020.06.04.15.28.23; Thu, 04 Jun 2020 15:28:46 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728592AbgFDUGc (ORCPT + 99 others); Thu, 4 Jun 2020 16:06:32 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:49790 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728054AbgFDUGa (ORCPT ); Thu, 4 Jun 2020 16:06:30 -0400 Received: from mail-io1-f70.google.com ([209.85.166.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jgw8B-0000Vx-QH for linux-kernel@vger.kernel.org; Thu, 04 Jun 2020 20:06:27 +0000 Received: by mail-io1-f70.google.com with SMTP id l19so1198517iol.5 for ; Thu, 04 Jun 2020 13:06:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=t8BNrQ5EvO5CN1P54SLRxErq24g55GKkGlzRsUwueE8=; b=NZUmGGYllPwJW/7yLbnSfcm5efBaD61Z3aj9vPB6vURoH/D49TSKpMqbb8vwY/lBhe HVJbt4hzfxBPIc8rqGOAkGtPgByfUcfCUGwiTx3oPJkSOLIX+ZW7cNpADf0k4LajsD6D Ql+E4TfLBk7sd3188O/AEI2Ias8pCsEhoH/Wx2NzzxsaD9vbcncGJgNDVl+Evfmw6G8g XngUOw4geaIcUImGHSIOso1fq6jAwrhksxPdQM/ql4WoOxoE3dZ2AWw8afT+49Oe7X1P /o1YbTX7O8ylFpkZRxBktkYOCm93kAwDdXHzQnjSYUvCWK1/i+fEPQqM4pTDhNoHq5Si l4Bg== X-Gm-Message-State: AOAM530jjbnGbD3QR727ZyRbV7+WCnKsxZjX2gIi4Cz9JWBQBZKFG+5k TqFEvgmo+NcbRpaD/TQMlhPq/5e9d8dYwKlmk6Nmcwvk3xduzKuGpagkuTJgLMMQa1Iu+Au9Z/Z BN3yxKF6CJkoN2fLiJe2MkkKMSvtaTqjdxJUu1nRBOg== X-Received: by 2002:a6b:5915:: with SMTP id n21mr5546984iob.103.1591301186521; Thu, 04 Jun 2020 13:06:26 -0700 (PDT) X-Received: by 2002:a6b:5915:: with SMTP id n21mr5546945iob.103.1591301185990; Thu, 04 Jun 2020 13:06:25 -0700 (PDT) Received: from localhost ([2605:a601:af9b:a120:2dfd:d485:5170:5d43]) by smtp.gmail.com with ESMTPSA id z13sm1890628ilh.82.2020.06.04.13.06.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 13:06:25 -0700 (PDT) Date: Thu, 4 Jun 2020 15:06:24 -0500 From: Seth Forshee To: Shuah Khan Cc: Steven Rostedt , Ingo Molnar , Shuah Khan , Masami Hiramatsu , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] selftests/ftrace: Use printf instead of echo in kprobe syntax error tests Message-ID: <20200604200624.GD5650@ubuntu-x1> References: <20200304222009.34663-1-seth.forshee@canonical.com> <20200529203704.GA57013@ubuntu-x1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 29, 2020 at 03:26:06PM -0600, Shuah Khan wrote: > On 5/29/20 2:37 PM, Seth Forshee wrote: > > On Wed, Mar 04, 2020 at 04:20:09PM -0600, Seth Forshee wrote: > > > Test cases which use echo to write strings containing backslashes > > > fail with some shells, as echo's treatment of backslashes in > > > strings varies between shell implementations. Use printf instead, > > > as it should behave consistently across different shells. This > > > requires adjustments to the strings to escape \ and % characters. > > > ftrace_errlog_check() must also re-escape these characters after > > > processing them to remove ^ characters. > > > > > > Signed-off-by: Seth Forshee > > > > Ping. Someone just asked me about this patch, and I noticed that it > > hasn't been applied or received any feedback. > > > > I pulled in this patch from Masami: > > selftests/ftrace: Use printf for backslash included command > https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/commit/?h=next&id=8e923a2168afd221ea26e3d9716f21e9578b5c4d > > Looks like a duplicate. > > Seth, > Is your patch still needed? Nope, Masami's patch seems to fix the issues addressed by my patch. Thanks!