Re: [PATCH] kseltest/cgroup: Make test_stress.sh work if run interactively

From: Tejun Heo
Date: Fri May 13 2022 - 15:34:20 EST


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 <longman@xxxxxxxxxx>

Applied to cgroup/for-5.19.

Thanks, much appreciated.

--
tejun