Re: [LTP] [PATCH v8] power_management: rewrite runpwtests04.sh in C

Petr Vorel <[email protected]>
Newsgroups it.linux.lists.ltp
Message-ID <20260805154616.GA649402@pevik>
Hi Jinseok Kim,

Patch does not apply:
error: patch failed: runtest/power_management_tests:1
error: runtest/power_management_tests: patch does not apply
error: patch failed: testcases/kernel/power_management/.gitignore:1
error: testcases/kernel/power_management/.gitignore: patch does not apply
Patch failed at 0001 power_management: rewrite runpwtests04.sh in C

=> please rebase and repost.

>  runpwtests06 runpwtests06.sh
> diff --git a/testcases/kernel/power_management/.gitignore b/testcases/kernel/power_management/.gitignore
> index 03f0c83e4..052696dc5 100644
> --- a/testcases/kernel/power_management/.gitignore
> +++ b/testcases/kernel/power_management/.gitignore
> @@ -1 +1,2 @@
> -high_freq_hwp_cap_cppc
> +/cpuidle01
> +/high_freq_hwp_cap_cppc
> diff --git a/testcases/kernel/power_management/cpuidle01.c b/testcases/kernel/power_management/cpuidle01.c
> new file mode 100644
> index 000000000..7e7b8d01f
> --- /dev/null
> +++ b/testcases/kernel/power_management/cpuidle01.c
> @@ -0,0 +1,102 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +/*
> + * Copyright (C) 2026 Jinseok Kim <[email protected]>
Maybe add a note:

Based on a script written by Nageswara R Sastry <[email protected]>
Copyright (c) International Business Machines  Corp., 2001

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.