Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp874303ybm; Fri, 29 May 2020 14:30:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/ilSu1YDAlW1bExy8hJqaE3KxG1sCyYKS0nXgmcQ+EmFliptukFh8aU72EIvIn3Wd6eHu X-Received: by 2002:a17:906:c59:: with SMTP id t25mr6300326ejf.255.1590787833647; Fri, 29 May 2020 14:30:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590787833; cv=none; d=google.com; s=arc-20160816; b=Vxnxaqxf/CBx9eNf2+W9HjzdO8giRuzE9YhrfesEBgyPaoNMf56t2rTaBAUpjMvtkF uZ1+/ntz1tmkC8aEiOiVyH/IxnI8kBJ+EJq6/Fc4c+GkRDDSdVanwstNeH7paqTHJELn meE9NmGkSFAyyNNq6/tsILMCrGPQC75XwcYStavGkr12LefA5IQHvJDm3QXXzsmxOC2B OOia1iuXLJ1veVGC4oynk+Bul+8epx1rnOLmmlUzvOP1M0Bj90GmyrzO7lE3SQzCnoPE e4r/DZsbzjxJKLeKLvpfSIKCD1Bf9P3+BE/lg2/5aIuuOHxo6R3PPatwPaugI7sA+zkG YxGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=p8dAPHZz+ht/nN+XghF1uMTld/TMP+BOizxf53N3zQw=; b=JK/9ouoY4VizuEnvj994ViJBio6cFyrwr+/nDDYG9T8PzCX2FqHDk70dsYQ+f3qPZ/ p5i3tuFUz1OomIrU0x7qd92erqOzgbLt5tJkpH6QyIz+x2YoYVaPYDOveEY6R1nJGTq6 NSnHrmyRQIHOZZ2Y4+Md6XlcJfO3PSAM0wu7s9x8RADigj2xFyGP/DpYSBjI+lULK6Qu U1H7TBFwe7BXfyYqSXE+7j4vloubLXeyVZTjF9H25B4BXrsyQqW1KuOnCMA67vv805j5 W7rWginCk4V2mvTUR/YvtU7lSbwkrXaoq/zv1j1H1MNz0FLrdiShHmREMoDENUcyCEZE XaOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="EBp/atAc"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kq23si6103270ejb.104.2020.05.29.14.30.09; Fri, 29 May 2020 14:30:33 -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; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="EBp/atAc"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728360AbgE2V0J (ORCPT + 99 others); Fri, 29 May 2020 17:26:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728071AbgE2V0J (ORCPT ); Fri, 29 May 2020 17:26:09 -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 053CBC08C5C9 for ; Fri, 29 May 2020 14:26:09 -0700 (PDT) Received: by mail-ot1-x343.google.com with SMTP id h7so3101400otr.3 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=j53RZz6aAb07jaGqms7X7nQttxVC4OkRsZb9Zmc4O7u5Kgt9Q9PpDKNSXX9If6jeDK SaknM6VGwslR7DSqN9JdL1DvJHxPoavLeXQKcix86MeGIXUuqW0p7WPlOqzQdGdlzlGU ZOd3rxGm07kTIe4FrqrmLXHwisBD9PcnbC3mzcO7KGcowhnyaj8reTRJ2YS5qEI61BnF rphwka0uwp0AVDmsTDpKNyDKS9UrmIer/ac4Uos7Pi4+2FdsK4T+g3R7y/6VrX4gzTik 8WTDD3nR/yWwudqzY5LXWxwvNONAVMRhplcAwJFfKe6f3jBa9iDQsF7sMNSP1uzbUbMD /jeQ== X-Gm-Message-State: AOAM533GBfBMOaKMYcP9q6CjKJ2AgfuqIMiyF9EutB2QrJ+Tj5gsW0xU xDvNCpe1WAIr2oHMfYeDUUncpi+PpXs= 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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