From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C15A5C433DF for ; Fri, 29 May 2020 21:26:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 99E5120897 for ; Fri, 29 May 2020 21:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590787569; bh=B+AzIROHTOVO7dpR1e5lrmZOwMSAxlU1AoumV6m2+lM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-ID:From; b=VkUMKBr1YwwMqaj8Fd0fsamc+Z3BysCriEGA8ZXYVqgAQgrBi1ueK8dTE94l8ppwb KRKJgkvNtf8QIz5TALj1VA9R/fOGsSxj2Pwokfvj8sIj2t2i6UcxdEYIk3OAA7fdew 1HJEtEa7klyiWXjwJUba1m0Akcuk1ErdL+vesvko= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728267AbgE2V0J (ORCPT ); Fri, 29 May 2020 17:26:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728040AbgE2V0I (ORCPT ); Fri, 29 May 2020 17:26:08 -0400 Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4F15C03E969 for ; Fri, 29 May 2020 14:26:08 -0700 (PDT) Received: by mail-ot1-x343.google.com with SMTP id g5so2571443otg.6 for ; Fri, 29 May 2020 14:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=p8dAPHZz+ht/nN+XghF1uMTld/TMP+BOizxf53N3zQw=; b=EBp/atAcNaFN+6puN/Jwb4WUQOnZtbjjBHlfOyk5q7ALw8VT2t5On9HYf8HxTqJNVO TqhBj4hRJC/0T8uzNoKe+c2rPuMyrCaCgsZPDHg4BT3UJ6/b8iUE8SQ15qBpk19qHVVG 0o8CsdaoQRbPfklS3B0KS0zjqfQ1pVpf+sNZg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=p8dAPHZz+ht/nN+XghF1uMTld/TMP+BOizxf53N3zQw=; b=JVS+CQT12iZoSb3D7zlYsqGiN367G8yahJlzdVIo4M1+PsV6uKcyIguKG2/a7a50lI U5+es+yVVYHK40qj59dvy5AreoR9IVTZiFAnTmiOaAYWezzE1+rEQld+m0THXBiZuv2j szWYDBaKjuNSryFGJKR71tDrtvdMhsN7d+EOavF5QHJhU6CaZUxoyx4dR/tIAc38jz11 oKF9gC4Gkg8pefMoFdfW4jrZ/aX0m4zZSZp1FJY/GiHu9HzZlm2hHTl3+8Hw5U+53ohT lAKrfWlG9ePZpI8OBuDguYJ27t6tLSz3wHXuWDKuQqp7CTTfKTqLpFMLf18U9FMsGSXf nrVA== X-Gm-Message-State: AOAM533UxNE9MdmORlASU3X/rcm+1N+KQ+6NdOPo+SAxWEfklQM34iph U3Z1ip1chwWhbVcWEBmc30H+3w== X-Google-Smtp-Source: ABdhPJxEZN3jHXCnJyt5F95GaRnw9TqHldrmjpzX0qnxxu2yYQJLNj90XywZQvbi5zTEizxNkgqYhQ== X-Received: by 2002:a05:6830:120f:: with SMTP id r15mr4105004otp.348.1590787568026; Fri, 29 May 2020 14:26:08 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id f15sm2782569otf.81.2020.05.29.14.26.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 May 2020 14:26:07 -0700 (PDT) Subject: Re: [PATCH v2] selftests/ftrace: Use printf instead of echo in kprobe syntax error tests To: Seth Forshee , Steven Rostedt , Ingo Molnar , Shuah Khan , Masami Hiramatsu Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200304222009.34663-1-seth.forshee@canonical.com> <20200529203704.GA57013@ubuntu-x1> From: Shuah Khan Message-ID: Date: Fri, 29 May 2020 15:26:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200529203704.GA57013@ubuntu-x1> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org 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? + Steve and Masami thanks, -- Shuah