On 04/20/2011 03:42 PM, Ivana Hutarova Varekova wrote:
> remove duplicate output in cgconfigparser_simple test
> 
> Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com>
> ---
> 
>  src/tools/lssubsys.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/tools/lssubsys.c b/src/tools/lssubsys.c
> index c27169f..3689db4 100644
> --- a/src/tools/lssubsys.c
> +++ b/src/tools/lssubsys.c
> @@ -122,6 +122,7 @@ static int print_all_controllers_in_hierarchy(const char 
> *tname,
>       }
>  
>       while (ret != ECGEOF) {
> +printf("info.name %s\n", info.name);

It seems to me as some debug output which should not be printed...
Better use cgroup_dbg or delete it.

>               /* controller is in the hierrachy */
>               if (info.hierarchy != hierarchy)
>                       goto next;
> diff --git a/tests/tools/cgconfigparser/cgconfigparser_simple 
> b/tests/tools/cgconfigparser/cgconfigparser_simple
> index 93cefdb..5dbe005 100755
> --- a/tests/tools/cgconfigparser/cgconfigparser_simple
> +++ b/tests/tools/cgconfigparser/cgconfigparser_simple
> @@ -19,6 +19,5 @@ if [ "$lss_o1" != "$lss_o2" ]; then
>       echo "ERROR: first lss ouptput:'$lss_o1', second lss output:'$lss_o2'"
>  fi
>  
> -echo "PASS: cgconfigparser_simple"
>  cleanup
>  exit 0
> 
> 
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload 
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve 
> application availability and disaster protection. Learn more about boosting 
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Libcg-devel mailing list
> Libcg-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libcg-devel
> 


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to