Hi All,


Here is the Patch for *
ltp-full-20081031/testcases/kernel/mem/mtest06shmat1.c*

This test was running infinite loop irrespective of exec_time.

Please apply the following patch.



Signed-Off-By : Naresh Kamboju< [EMAIL PROTECTED] >





--- ltp-full-20081031/testcases/kernel/mem/mtest06/shmat1.c 2007-07-16
10:08:20.000000000 +0530

+++ ltp-full-20081031_mod/testcases/kernel/mem/mtest06/shmat1.c   2008-11-04
15:50:15.000000000 +0530

@@ -510,6 +510,7 @@

                   num_iter);



     /* set up signals */

+    set_timer(exec_time);

     sigptr.sa_handler = (void (*)(int signal))sig_handler;

     sigfillset(&sigptr.sa_mask);

     sigptr.sa_flags = SA_SIGINFO;

@@ -527,7 +528,6 @@

     }



     chld_args[0] = num_iter;

-    set_timer(exec_time);



     for (;;)

     {







Thank & regards
Naresh Kamboju

Attachment: ltp-full-20081031.patch
Description: Binary data

-------------------------------------------------------------------------
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

Reply via email to