cgconfigparser_simple tool call lssubsys command without TOOLSDIR prefix

Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com>
---

 tests/tools/cgconfigparser/cgconfigparser_simple |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/tools/cgconfigparser/cgconfigparser_simple 
b/tests/tools/cgconfigparser/cgconfigparser_simple
index 5dbe005..070bd73 100755
--- a/tests/tools/cgconfigparser/cgconfigparser_simple
+++ b/tests/tools/cgconfigparser/cgconfigparser_simple
@@ -8,11 +8,11 @@ mkdir -p /$TMP/cgroups/cpu 2>/dev/null
 mount -t cgroup -o cpu,cpuacct cpu /$TMP/cgroups/cpu || die "Mount failed"
 
 $TOOLSDIR/cgsnapshot -b $CONFIGDIR/cgsnapshot_blacklist.conf >/$TMP/temp.conf 
|| die "cgsnapshot failed"
-lss_o1=`lssubsys -m`
+lss_o1=`$TOOLSDIR/lssubsys -m`
 $TOOLSDIR/cgclear || die "1st cgclear failed"
 
 $TOOLSDIR/cgconfigparser -l /$TMP/temp.conf || die "cgconfigparser failed"
-lss_o2=`lssubsys -m`
+lss_o2=`$TOOLSDIR/lssubsys -m`
 $TOOLSDIR/cgclear || die "2nd cgclear failed"
 
 if [ "$lss_o1" != "$lss_o2" ]; then


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to