Re: [PATCH 2/2] selftests/cpufreq: Remove unnecessary sudo from quick_shuffle()

From: Viresh Kumar

Date: Tue Jul 07 2026 - 01:12:23 EST


On 06-07-26, 23:38, Jinseok Kim wrote:
> The cpufreq selftests are always executed through main.sh, which verifies
> that the test is run as root before dispatching any test case.
>
> Therefore, invoking sudo inside quick_shuffle() is redundant and may cause
> failures in environments where sudo is unavailable.
>
> Signed-off-by: Jinseok Kim <always.starving0@xxxxxxxxx>
> ---
> tools/testing/selftests/cpufreq/special-tests.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh