Hi,

I have noticed fail and fixed.
1. bdflush01.c


Please find the patch below and as attachment.

Best regards
Naresh Kamboju

Signed-off-by: Naresh Kamboju < [email protected] >



diff -Naurb a/testcases/kernel/syscalls/bdflush/bdflush01.c
b/testcases/kernel/syscalls/bdflush/bdflush01.c
--- a/testcases/kernel/syscalls/bdflush/bdflush01.c     2009-05-21
23:42:51.000000000 +0530
+++ b/testcases/kernel/syscalls/bdflush/bdflush01.c     2009-06-17
22:59:45.000000000 +0530
@@ -187,7 +187,7 @@
         for (lc = 0; TEST_LOOPING(lc); ++lc) {
                 Tst_count = 0;
                 for (testno = 0; testno < TST_TOTAL; ++testno) {
-                       TEST(syscall(134,0,data));      //bdflush(0,data);
+                       TEST(syscall(__NR_bdflush,0,data));     
//bdflush(0,data);
                        if(TEST_RETURN < 0){
                                tst_resm(TFAIL,"Call to bdflush() Failed, 
errno=%d :
%s",TEST_ERRNO, strerror(TEST_ERRNO));
                                cleanup();

Attachment: ltp-fix-bdflush.patch
Description: Binary data

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to