> Hey, > in file: > ltp-full-20080131/testcases/kernel/syscalls/sysconf/sysconf01.c > -------- > else if (errno != EINVAL) > tst_resm(TFAIL,"sysconf correctly failed, but expected errno > (%i) != actual (%i)\n",EINVAL, errno); > else > -------- > I personally think, it would be better to print out the "actual" return > code from sysconf call instead of the errno, which may lead to > confusion, because the actual return code from the failing sysconf is > probably not 0 (as errno is defined in previous context).
Thanks for pointing that out. It helps. Patch Applied. --Subrata > > Maybe you want the patch. > > Regards, > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
