Applied.
Regards--
Subrata
Doug Chapman wrote:
> Oops, I just realized that my patch was against an older version of ltp
> and this test has changed.  The other changes are unrelated but it does
> break the diff.  Here is a patch against ltp-full-20070331.
>
> sorry for any confusion,
>
> - Doug
>
>
> Recent kernels have ext2 and ext3 support in separate modules.  On a typical
> installation this means that ext2 support often is not loaded which will
> cause the sysfs01 test to fail when it asks for the filesystem index of
> ext2.  This patch changes the test to ask for "proc" instead of "ext2"
> since that should always be compiled in.
>
>
>       Signed-off-by: Doug Chapman <[EMAIL PROTECTED]>
>
> -----------------------------------------------------
>
>
> --- ltp-full-20070331/testcases/kernel/syscalls/sysfs/sysfs01.c.ext2  
> 2007-04-27 09:58:29.000000000 -0400
> +++ ltp-full-20070331/testcases/kernel/syscalls/sysfs/sysfs01.c       
> 2007-04-27 09:58:39.000000000 -0400
> @@ -63,7 +63,7 @@
>   *
>   *RESTRICTIONS:
>   *There is no glibc or libc support
> - *Kernel should be compiled with ext2 filesystem support
> + *Kernel should be compiled with proc filesystem support
>   
> ******************************************************************************/
>
>  #include "test.h"
> @@ -98,7 +98,7 @@
>               Tst_count = 0;
>
>               /* option 1, buf holds fs name */
> -             TEST(syscall(__NR_sysfs, 1, "ext2"));
> +             TEST(syscall(__NR_sysfs, 1, "proc"));
>
>               /* check return code */
>               if (TEST_RETURN == -1) {
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to