On Tue, 2008-11-18 at 11:35 +0530, Nageswara R Sastry wrote:
> CAI Qian wrote:
> 
> >> +          cat /sys/devices/system/cpu/cpuidle/${files} 2>&1 >/dev/null
> > 
> > I guess you want ">/dev/null 2>&1" to eliminate both STDERR and STDOUT.
> > 
> 
> Attaching a small patch with the above change. Please accept. Thanks in 
> advance.
> 
> Regards
> R.Nageswara Sastry.
> 
> Signed-Off-By: Nageswara R Sastry <[EMAIL PROTECTED]>

Thanks.

Regards--
Subrata

> plain text document attachment (power_management_cpuidle_1.patch)
> diff -uprN 
> ltp-full-20081031/testcases/kernel/power_management/check_cpuidle_sysfs_files.sh
>  
> ltp-full-20081031.mod/testcases/kernel/power_management/check_cpuidle_sysfs_files.sh
> --- 
> ltp-full-20081031/testcases/kernel/power_management/check_cpuidle_sysfs_files.sh
>   2008-11-18 11:28:33.000000000 +0530
> +++ 
> ltp-full-20081031.mod/testcases/kernel/power_management/check_cpuidle_sysfs_files.sh
>       2008-11-18 11:29:06.000000000 +0530
> @@ -4,7 +4,7 @@ RC=0
>  if [ -d /sys/devices/system/cpu/cpuidle ] ; then
>       for files in current_governor_ro current_driver
>       do
> -             cat /sys/devices/system/cpu/cpuidle/${files} 2>&1 >/dev/null
> +             cat /sys/devices/system/cpu/cpuidle/${files} >/dev/null 2>&1
>               if [ $? -ne 0 ] ; then
>                       echo "${0}: FAIL: cat ${files}"
>                       RC=1
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________ Ltp-list mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to