From: Subrata <sub...@us...> - 2007-09-04 10:46:39
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/ioperm In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9260/ltp/testcases/kernel/syscalls/ioperm Modified Files: ioperm02.c Log Message: Fixing "ioperm02" testcase for kernel comparisns Index: ioperm02.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/ioperm/ioperm02.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ioperm02.c 30 Jan 2006 22:44:57 -0000 1.7 --- ioperm02.c 4 Sep 2007 10:46:21 -0000 1.8 *************** *** 236,240 **** test_cases[1].desc = "Non super-user"; test_cases[1].exp_errno = EPERM; ! if (tst_kvercmp(2,6,8) < 0) { /*try invalid ioperm on 1022, 1023, 1024*/ test_cases[0].from = (IO_BITMAP_BITS - NUM_BYTES) + 1; --- 236,240 ---- test_cases[1].desc = "Non super-user"; test_cases[1].exp_errno = EPERM; ! if ((tst_kvercmp(2,6,8) < 0) || (tst_kvercmp(2,6,9) == 0)) { /*try invalid ioperm on 1022, 1023, 1024*/ test_cases[0].from = (IO_BITMAP_BITS - NUM_BYTES) + 1; |