2010/8/27 Gao, Feng <[email protected]>:
> Attach the patch.
>
> BR,
> Feng Gao
>
>
> -----Original Message-----
> From: Gao, Feng
> Sent: 2010-8-27 16:32
> To: ltp-list
> Cc: [email protected]
> Subject: [LTP]About the cacheflush01 testcase
>
> Hi,
>
> In the cacheflush01 testcase, it will check if the return value is EINVAL
> when the argument cache is not one of ICACHE, BCACHE or DCACHE.
>
> But in the latest kernel, the return values of function cacheflush do NOT
> have EINVAL,  it is no consistent with the linux manual.
> A related patch about the cacheflush function:
> http://lkml.org/lkml/2009/4/9/203
> But Ralf had refused this patch:
> http://www.spinics.net/lists/linux-man/msg00906.html
>
> When run the ltp, cacheflush01 will fail at MIPS boards. So advice to delete
> the cacheflush01 case.

    Silent failures are really stupid, but oh well... there's probably
some value in checking for the EFAULT error code, so I don't think it
should be removed quite yet.
Thanks,
-Garrett

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to