From: naresh k. <nar...@gm...> - 2009-06-17 20:18:58
|
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 < nar...@gm... > 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(); |