In latest ltp version, the following message occured when run the case of 
cpuset.
-----
./cpuset_hotplug_test.sh: line 39: ./cpuset_list_compute: No such file or 
directory
./cpuset_hotplug_test.sh: line 227: ./cpuset_list_compute: No such file or 
directory
-----

The reason is that cpuset_list_compute.c(in testcases/kernel/controllers/cpuset/
cpuset_hotplug_test/) has not been compiled.
This patch fix it.

Signed-off-by: Shi Weihua <[email protected]>
---
--- 
ltp-intermediate-20091209.orig/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile
     2009-12-09 02:48:49.000000000 -0500
+++ 
ltp-intermediate-20091209/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile
  2010-01-05 10:53:55.000000000 -0500
@@ -25,6 +25,6 @@ top_srcdir              ?= ../../../../.
 include $(top_srcdir)/include/mk/testcases.mk
 include $(abs_srcdir)/../Makefile.inc
 
-MAKE_TARGETS           :=
+LDLIBS         += -lpthread
 
 include $(top_srcdir)/include/mk/generic_leaf_target.mk


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to