Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1004540iob; Fri, 13 May 2022 19:19:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIrFLwBSiG6Sch0tfiltsru83zU4cYWEeFS8MOnvnNweRGucZ8AgS2MC2aF7G7SeCD+x1L X-Received: by 2002:adf:e106:0:b0:20a:b31b:213d with SMTP id t6-20020adfe106000000b0020ab31b213dmr5993342wrz.219.1652494779485; Fri, 13 May 2022 19:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652494779; cv=none; d=google.com; s=arc-20160816; b=BBF9usxG1qk040q5Gn36FXLSbQxLrBO2YQUBRmN7t6JR5lFEDmTh/t9DOOXajGN4S6 +xbfFjIHwFAV4wwLxp/sNnB2R/7JpVbtwIAvfCp5QdkiCUY5VA2st2OyGv3WyVHNMnEw 40SFh7kGnd5xWGtSIzXlHc7KrGZdFoxPFfLTQ7n/0uTjKoZw5SRd3X4dxM+MUdWAmi5l N1fUgFooX39e+GI6FHSJc0u++1gIeL1CuPK4PvoPtdM2NPrcD4UmhgUqI7oQqXXJH9Sc FsuxfZHA796iiSwq1fD3TX1CRcuMzO9uCdZ62p/CORS0SRAzbymv+HTViO23dyVZp7fm FIwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=mglyuvEmvgYHun8zwNB9cJvmded1N/ByJaYNnqZF5m0=; b=cQ3dPp6Azl4dgDAd8eKOExarUKIo49v3WUmnOEadsrzFSTPQZytit+oYzPKWw5WHvc IBBj+MAXhYZujmagWZUCEECeFrYmY6tSC/spzwXwHKWtejQ/yAnWGHnD6E6Lcis5RsqG eLLn7pijr8rBerPShjIuFhzmum70poedGQiRYkWQ6zZoSUJeUSQufYk3yDcLh6Rzg41k 3vpvm2cbYGSJiDta7W3N+RSsoqwJ5/3zgf8EQKrIlN72nhVn2sc1f6w/blxNmkx6MfPx ukeq7hc8v84VusHt9AKJ5PuhYdEJmJqmTwWS75hl+Ho9+ZPwlZ+bZcu+jxzv/scTQHUs gq4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DCjV9shw; 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=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t5-20020a1c4605000000b00393e7e73449si3814357wma.128.2022.05.13.19.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:19:39 -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=@redhat.com header.s=mimecast20190719 header.b=DCjV9shw; 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=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 838E34B685B; Fri, 13 May 2022 17:36:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355048AbiELOe7 (ORCPT + 99 others); Thu, 12 May 2022 10:34:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355389AbiELOey (ORCPT ); Thu, 12 May 2022 10:34:54 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 144B726084D for ; Thu, 12 May 2022 07:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652366085; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=mglyuvEmvgYHun8zwNB9cJvmded1N/ByJaYNnqZF5m0=; b=DCjV9shwDe2NJNBHZbCEGM38GXpAgNYHK/6d1uaetlStwLRQfuwY7h6zReMU2/Tq/PQaoI cQNUSUwmho7cFJOYShkMRCSf0DTwBISS61DUi4k4ZdlQmVwa1n9wRpLIE6gTOKgsQ2Nd3w nzD85L4iHUaOq4eB72kwPfrTG/8L4qA= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-328-MhFf1UAxNAW6SmEMJOd-yg-1; Thu, 12 May 2022 10:34:41 -0400 X-MC-Unique: MhFf1UAxNAW6SmEMJOd-yg-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A6C2538149A9; Thu, 12 May 2022 14:34:40 +0000 (UTC) Received: from pauld.bos.com (dhcp-17-51.bos.redhat.com [10.18.17.51]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8005E552781; Thu, 12 May 2022 14:34:40 +0000 (UTC) From: Phil Auld To: linux-kernel@vger.kernel.org Cc: mkoutny@suse.com, tj@kernel.org, longman@redhat.com Subject: [PATCH] kselftest/cgroup: fix test_stress.sh to use OUTPUT dir Date: Thu, 12 May 2022 10:34:39 -0400 Message-Id: <20220512143439.26104-1-pauld@redhat.com> MIME-Version: 1.0 Content-type: text/plain X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Running cgroup kselftest with O= fails to run the with_stress test due to hardcoded ./test_core. Find test_core binary using the OUTPUT directory. Fixes: 1a99fcc035fb ("selftests: cgroup: Run test_core under interfering stress") Signed-off-by: Phil Auld --- tools/testing/selftests/cgroup/test_stress.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/cgroup/test_stress.sh b/tools/testing/selftests/cgroup/test_stress.sh index 15d9d5896394..109c044f715f 100755 --- a/tools/testing/selftests/cgroup/test_stress.sh +++ b/tools/testing/selftests/cgroup/test_stress.sh @@ -1,4 +1,4 @@ #!/bin/bash # SPDX-License-Identifier: GPL-2.0 -./with_stress.sh -s subsys -s fork ./test_core +./with_stress.sh -s subsys -s fork ${OUTPUT}/test_core -- 2.18.0