On 04/28/2014 08:26 PM, Xiaoguang Wang wrote: > When kernel KSM configuration is not enabled, we make testcases continue to > run > instead of returning TCONF, e.g. oom01. And if KSM configuration is not > enabled, in > the original code, "tst_brkm(TCONF, NULL, ...)" will be called, in this case, > we > will forget to execute the restore operations defined in cleanup, which will > forget > to restore the /proc/sys/vm/overcommit_memory to 0, and this will impact > other test > cases in LTP, for example, fork14 in RHEL5 will succeed unexpectedly. > > Signed-off-by: Xiaoguang Wang <[email protected]> > --- > testcases/kernel/mem/lib/mem.c | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-)
Applied, thank you. Wanlong Gao ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
