On Tue, 2008-10-07 at 21:08 -0700, Malov, Vlad wrote:
> Simple bug in logic that defines when to run the test makes it run
> exclusively when support is NOT implemented.
>
> Tested on mips64 system running Cavium Networks Octeon chip, Linux
> 2.6.27
>
> The fix:
Thanks for the Fix. But the Patch was not created properly. See:
patching file testcases/kernel/syscalls/getcpu/getcpu01.c
patch: **** malformed patch at line 125: are ");
Please use unified diff for your next patches:
diff -uprN <original> <modified>
Since the change was trivial, i was able to do it on my own. Thanks very
much.
Regards--
Subrata
> ------------------------------------------------------------------------
> --------------------------------------
>
> --- ./testcases/kernel/syscalls/getcpu/getcpu01.c.orig 2008-10-06
> 10:52:19.000000000 -0700
> +++ ./testcases/kernel/syscalls/getcpu/getcpu01.c 2008-10-06
> 10:58:15.000000000 -0700
> @@ -99,7 +99,7 @@
> #endif
>
> /* Check For Kernel Version */
> - if(((tst_kvercmp(2,6,20)) < 0) || (sys_support))
> + if(((tst_kvercmp(2,6,20)) < 0) || !(sys_support))
> {
> tst_resm(TCONF, "This test can only run on kernels that
> are ");
> tst_resm(TCONF, "2.6.20 and higher and glibc version 2.6
> and above");
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list