Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1045731iob; Fri, 13 May 2022 20:56:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJBhzOFb++wPMNVbjvp7/iwwe28SKnqUNGxDYG5E/2enWotXU1T5KCAIGYfC2Wtg3XpGqo X-Received: by 2002:a5d:414a:0:b0:20a:d5f9:8b62 with SMTP id c10-20020a5d414a000000b0020ad5f98b62mr6380754wrq.492.1652500581124; Fri, 13 May 2022 20:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652500581; cv=none; d=google.com; s=arc-20160816; b=aaNq+d6nh08xE0vwzkCO5LVjKPkWTUzftiFQluKAAjPJGLoh2Wwg+qqOOooT361lzf PJdElVdwQhwULJdGuhKd0SjnKsRvmusijLRALN1gB2CJFpBAcG/WcflapSK3QwxqTCyc xl+3b+1IzZEIw9E9Lw9veTkznXdPK7LDMU5jjpIIAUayO9vXXVBPZVYChouA3+x7PhUB Crdfvs4gs0s6RBYjAPPvuhImk6xmF4EuQ/HOGw+vJP/HLArpQNAoTR30g3siVUSn8mXG cJbbegnCbc7pKhCmcHsn9VgjCGVT+YDmiM9tQOfx9AVNiGPrL/aZ96Na/TKYIH2Wriwr Kw5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=7BSLd/9FfqODWm0XMu152wdT1waWblg0wKPb9L2tj+0=; b=HvjLECoK5+Cb4SatOcYFJQKkgg9CH7um7hR1dLcKCD8TdzZdS2wPL9QFC9ovYitHVy jJPJcdXryqNU40TWzOvj7clF1cFGY/ImznBv/S0zyo857n1qIkCWVv/7w7ri/fRg6cYY lLkhODAihfh3EO9yrZZpY44vVbg3+3ODl61/ZaM0oFDAbZtsAY5dr7hh0O79PnAJJdyq RQnSKxKjvd1iaBdzA+tCd9FHwxzWvHJ+yABptki8hFSt5UTLr9nFk/obTDKMx1nXniI5 TzMCNgi+6bn7qAXeJCWsGq+uCI95IFcTvKTDOw5grbAGfwR9SUfdIMQc5qyTziMKqu+w kzNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pmakHJ5O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l15-20020a05600002af00b0020cd01c640esi5426685wry.1049.2022.05.13.20.56.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pmakHJ5O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61B2B4911CB; Fri, 13 May 2022 17:28:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383661AbiEMTeR (ORCPT + 99 others); Fri, 13 May 2022 15:34:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348000AbiEMTeO (ORCPT ); Fri, 13 May 2022 15:34:14 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 456152AC40; Fri, 13 May 2022 12:34:13 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id a191so8396953pge.2; Fri, 13 May 2022 12:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=7BSLd/9FfqODWm0XMu152wdT1waWblg0wKPb9L2tj+0=; b=pmakHJ5ObblxYg6DTbIX+0AwpSDprJ9K8Ncuq6QLao0GXk4/q16Voz3zpKXpb0W2u6 Pu5NbuNDkxRvOS18/sNZpwZB19RXH9FGnf0Sm4Q6sGhFZTXCWDhRGujVu5yKBPEPfxj6 qKdUBcFxZhLw7gw5O8SVi3TjHjuCxnLpTosqA8Yyyob1/KHvdjkTRbW1pBrXHRpOLVXD vxmiofElROpWqRQ3t7pPuAuebzYFlIs7lUIqwebZqCz2b9ehrNtPB2KHc5uJZW8TVSq4 vD3MP5l0axv6GrIlB2jK0WgZkMCBotNKjrwiw89UmaKN+qydKWEYQ2Y79Mel44fCxSo6 6+aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=7BSLd/9FfqODWm0XMu152wdT1waWblg0wKPb9L2tj+0=; b=bjsm3/ljChKks5MBJmnYKGe/cqHuyrlJpaDrt0sncA/SsPuWEtbtVI+bJDugVsmS+W 8JxjzBZE2A889AvntyNYHiufCX+p9pjB8ntpbxCfZaESlwX4Dvk0jwuFAE2vg0V5obbW t8ML4+WWIBauhQGG/lECIF2GX9n1e6tnwiF/V/7L9HccFatZn1RYxqFEySVuvgmyFL1r vQm+ATxUGoUhDWrjWyawmPQeZgvl55Z2jJXZ7p31jI2M9OSU5FcijkqGNkfHKKKMaWzI DNMHx4UIQpb9IwYMRSmVROfHgDAFE0vj+fcUxmYvFJ7aAiauxG8uuzBCqzx/LrygpW+2 FdBw== X-Gm-Message-State: AOAM530WeKwBF6Oep6ads1I8JxytFyJBUYj55k/Pl7KAdMAnP1nxh2+/ mYQl6Cvl65WbmanjV5P+muc= X-Received: by 2002:a63:5d1c:0:b0:39c:c5d7:ebbb with SMTP id r28-20020a635d1c000000b0039cc5d7ebbbmr5196110pgb.54.1652470452660; Fri, 13 May 2022 12:34:12 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::4:5607]) by smtp.gmail.com with ESMTPSA id ij9-20020a170902ab4900b0015e8d4eb1e3sm2208726plb.45.2022.05.13.12.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 12:34:12 -0700 (PDT) Sender: Tejun Heo Date: Fri, 13 May 2022 09:34:10 -1000 From: Tejun Heo To: Waiman Long Cc: Shuah Khan , cgroups@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Phil Auld , Michal =?iso-8859-1?Q?Koutn=FD?= Subject: Re: [PATCH] kseltest/cgroup: Make test_stress.sh work if run interactively Message-ID: References: <20220513190928.676841-1-longman@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220513190928.676841-1-longman@redhat.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 13, 2022 at 03:09:28PM -0400, Waiman Long wrote: > Commit 54de76c01239 ("kselftest/cgroup: fix test_stress.sh to use OUTPUT > dir") changes the test_core command path from . to $OUTPUT. However, > variable OUTPUT may not be defined if the command is run interactively. > Fix that by using ${OUTPUT:-.} to cover both cases. > > Signed-off-by: Waiman Long Applied to cgroup/for-5.19. Thanks, much appreciated. -- tejun