Hi!
> > So the case here is that the test is disabled because the we think that
> > it will not work. I'm fine with adding more information to the
> > tst_kvercmp() but we should do it more extensible and data driven
> > manner.
> > 
> > What about we create an array with extra version strings per
> > distribution that gets passed to tst_kvercmp2() function and is used
> > when particular distribution is detected?
> 
> RHEL kernel with a suffix like ".el5" on RHEL5 and ".el6" on RHEL6,
> I wonder how to detect SLES kernels?

We can use '/proc/version' and '/etc/SuSE-release' to identify SUSE
kernel running on the top of SLES userspace, which should be good enough
heuristics.

I can write that part of the code once we have the code for RHEL in
place.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to