From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A392BA41; Fri, 22 Dec 2023 02:00:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B853C433C7; Fri, 22 Dec 2023 02:00:49 +0000 (UTC) Date: Thu, 21 Dec 2023 21:01:53 -0500 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: LKML , Linux Trace Kernel , Mark Rutland , Mathieu Desnoyers , Linus Torvalds , Shuah Khan , Linux selftests Subject: Re: [PATCH v2] tracing/selftests: Add ownership modification tests for eventfs Message-ID: <20231221210153.3f1933ef@gandalf.local.home> In-Reply-To: <20231222105200.e73d58640d8be7da89331deb@kernel.org> References: <20231221194516.53e1ee43@gandalf.local.home> <20231222102148.2aa3863d7c11f3928549335a@kernel.org> <20231221202813.38ef5664@gandalf.local.home> <20231222104841.1d1b306c989070f82c672d89@kernel.org> <20231222105200.e73d58640d8be7da89331deb@kernel.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 22 Dec 2023 10:52:00 +0900 Masami Hiramatsu (Google) wrote: > > +instance="foo-$(mktemp -u XXXXX)" > > > > This doesn't work. it needs XXXXXX (6 times X). And this is > > somewhat wrong usage of mktemp because it can not check there is > > foo-. > > What about change it as > > > > instance="$(mktemp -u foo-XXXXXX)" That can work too, although I think I'll change it from "foo" to "test". > > > > ? > > And I confirmed that this test passed on v6.5.13 with that change. Thanks, I'll send out a v3 with 6 Xs. ;-) -- Steve