Skip to contentSkip to conversation

Add kernel tag checking to oom testcases.

PATCH Cyril Hrubis 1 participant 1 message May 31, 2011 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi!

Quoted 3 lines

cgroup filesystem is used in testcases oom03 and oom04, but cgroup filesystem is not supported in kernel older than 2.6.24. So we should check the kernel tag first.

Still this doesn't help on kernels where cgroups are not compiled in.

What about changing the mount_mem() to exit the test with TCONF when mount() returned ENODEV.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list