Patch "kselftest/cgroup: fix test_stress.sh to use OUTPUT dir" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    kselftest/cgroup: fix test_stress.sh to use OUTPUT dir

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     kselftest-cgroup-fix-test_stress.sh-to-use-output-di.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 0e040b4e33bc622d40fa7e3e58dc4df592eaccff
Author: Phil Auld <pauld@xxxxxxxxxx>
Date:   Thu May 12 10:34:39 2022 -0400

    kselftest/cgroup: fix test_stress.sh to use OUTPUT dir
    
    [ Upstream commit 54de76c0123915e7533ce352de30a1f2d80fe81f ]
    
    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 <pauld@xxxxxxxxxx>
    Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux