On Mon, 2009-07-06 at 15:45 +0530, gowrishankar wrote: > Hi Subrata, > Please accept the patch below. > > Thanks, > Gowri > --- > cgroups: conditionally enable building cgroup tests > > controllers tests gets included into default ltp build if "/proc/cgroup" > exists. It stops the ltp build in realtime kernel environment where kernel > is new and supports cgroups, but necessary file "linux/cgroupstats.h" may not > exist in the base OS (like RHEL5.3). So configure command enables the build, > but actual build fails, due to missing header file. > > Below patch proposes new symbol LTP_CHECK_CGROUPSTATS to check for header file > "linux/cgroupstats.h" and include controllers in the list of tests to build. > > Tested the patch in non-RT as well as RT environment for the changes. > > Signed-off-by: Gowrishankar <[email protected]>
Thanks Gowri. Regards-- Subrata > Tested-by: Gowrishankar <[email protected]> > --- > ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
