Applied all in the series.

Regards--
Subrata

On Tue, 2008-10-21 at 18:34 +0530, Subrata Modak wrote:
> I found no reason why they should not be run:
> 
> Signed-Off-By: Subrata Modak <[EMAIL PROTECTED]>
> 
> --
> 
> --- ltp-full-20081020/runtest/syscalls.orig   2008-10-21
> 17:57:23.000000000 +0530
> +++ ltp-full-20081020/runtest/syscalls        2008-10-21 18:11:47.000000000
> +0530
> @@ -471,6 +471,8 @@ modify_ldt02 run-modify_ldt02.sh
>  #mount03 mount03 -D /dev/...
>  #mount04 mount04 -D /dev/...
> 
> +mount1234 test_mount
> +
>  move_pages01 move_pages.sh 01
>  move_pages02 move_pages.sh 02
>  move_pages03 move_pages.sh 03
> @@ -1031,6 +1033,8 @@ unlinkat01 unlinkat01
>  #umount02 umount02 -D /dev/...
>  #umount03 umount03 -D /dev/...
> 
> +umount123 test_umount
> +
>  ustat01 ustat01
>  ustat02 ustat02
> 
> diff -uprN
> ltp-full-20081020/testcases/kernel/syscalls/mount.orig/Makefile
> ltp-full-20081020/testcases/kernel/syscalls/mount/Makefile
> --- ltp-full-20081020/testcases/kernel/syscalls/mount.orig/Makefile
> 2008-10-21 18:12:58.000000000 +0530
> +++ ltp-full-20081020/testcases/kernel/syscalls/mount/Makefile
> 2008-10-21 18:06:19.000000000 +0530
> @@ -31,6 +31,7 @@ all: $(TARGETS)
> 
>  install: setuid_test.mode
>       @set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; done
> +     ln -f test_mount ../../../bin/
> 
>  clean:
>       rm -f $(TARGETS)
> diff -uprN
> ltp-full-20081020/testcases/kernel/syscalls/mount.orig/test_mount
> ltp-full-20081020/testcases/kernel/syscalls/mount/test_mount
> --- ltp-full-20081020/testcases/kernel/syscalls/mount.orig/test_mount
> 1970-01-01 05:30:00.000000000 +0530
> +++ ltp-full-20081020/testcases/kernel/syscalls/mount/test_mount
> 2008-10-21 18:05:45.000000000 +0530
> @@ -0,0 +1,100 @@
> +#!/bin/sh
> +################################################################################
> +##
> ##
> +## Copyright (c) International Business Machines  Corp., 2008
> ##
> +##
> ##
> +## This program is free software;  you can redistribute it and#or
> modify      ##
> +## it under the terms of the GNU General Public License as published by
> ##
> +## the Free Software Foundation; either version 2 of the License, or
> ##
> +## (at your option) any later version.
> ##
> +##
> ##
> +## This program is distributed in the hope that it will be useful, but
> ##
> +## WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY ##
> +## or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
> License   ##
> +## for more details.
> ##
> +##
> ##
> +## You should have received a copy of the GNU General Public License
> ##
> +## along with this program;  if not, write to the Free Software
> ##
> +## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
> USA    ##
> +##
> ##
> +################################################################################
> +
> +export TCID=mount1234
> +export TST_TOTAL=2
> +export TST_COUNT=0
> +
> +for tttype in `ls /dev/tty*`
> +do
> +device_no="${tttype}:8"
> +case "$device_no" in
> +[0-9]|[0-9][0-9])
> +    tst_resm TINFO "Testing mount01 with $tttype"
> +    mount01 -D $tttype
> +    RC=$?
> +    if  [ $RC -eq 0 ]
> +    then
> +     tst_resm TPASS "mount01 Passed with $tttype"
> +    else
> +     tst_resm TFAIL "mount01 Failed with $tttype"
> +    fi
> +echo;;
> +esac
> +done
> +
> +
> +for tttype in `ls /dev/tty*`
> +do
> +device_no="${tttype}:8"
> +case "$device_no" in
> +[0-9]|[0-9][0-9])
> +    tst_resm TINFO "Testing mount02 with $tttype"
> +    mount02 -D $tttype
> +    RC=$?
> +    if  [ $RC -eq 0 ]
> +    then
> +     tst_resm TPASS "mount02 Passed with $tttype"
> +    else
> +     tst_resm TFAIL "mount02 Failed with $tttype"
> +    fi
> +echo;;
> +esac
> +done
> +
> +for tttype in `ls /dev/tty*`
> +do
> +device_no="${tttype}:8"
> +case "$device_no" in
> +[0-9]|[0-9][0-9])
> +    tst_resm TINFO "Testing mount03 with $tttype"
> +    mount03 -D $tttype
> +    RC=$?
> +    if  [ $RC -eq 0 ]
> +    then
> +     tst_resm TPASS "mount03 Passed with $tttype"
> +    else
> +     tst_resm TFAIL "mount03 Failed with $tttype"
> +    fi
> +echo;;
> +esac
> +done
> +
> +for tttype in `ls /dev/tty*`
> +do
> +device_no="${tttype}:8"
> +case "$device_no" in
> +[0-9]|[0-9][0-9])
> +    tst_resm TINFO "Testing mount04 with $tttype"
> +    mount04 -D $tttype
> +    RC=$?
> +    if  [ $RC -eq 0 ]
> +    then
> +     tst_resm TPASS "mount04 Passed with $tttype"
> +    else
> +     tst_resm TFAIL "mount04 Failed with $tttype"
> +    fi
> +echo;;
> +esac
> +done
> +
> +tst_exit
> +
> diff -uprN
> ltp-full-20081020/testcases/kernel/syscalls/umount.orig/Makefile
> ltp-full-20081020/testcases/kernel/syscalls/umount/Makefile
> --- ltp-full-20081020/testcases/kernel/syscalls/umount.orig/Makefile
> 2008-10-21 18:13:35.000000000 +0530
> +++ ltp-full-20081020/testcases/kernel/syscalls/umount/Makefile
> 2008-10-21 18:08:13.000000000 +0530
> @@ -26,6 +26,7 @@ all: $(TARGETS)
> 
>  install:
>       @set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; done
> +     ln -f test_umount ../../../bin/
> 
>  clean:
>       rm -f $(TARGETS)
> diff -uprN
> ltp-full-20081020/testcases/kernel/syscalls/umount.orig/test_umount
> ltp-full-20081020/testcases/kernel/syscalls/umount/test_umount
> --- ltp-full-20081020/testcases/kernel/syscalls/umount.orig/test_umount
> 1970-01-01 05:30:00.000000000 +0530
> +++ ltp-full-20081020/testcases/kernel/syscalls/umount/test_umount
> 2008-10-21 18:09:57.000000000 +0530
> @@ -0,0 +1,82 @@
> +#!/bin/sh
> +################################################################################
> +##
> ##
> +## Copyright (c) International Business Machines  Corp., 2008
> ##
> +##
> ##
> +## This program is free software;  you can redistribute it and#or
> modify      ##
> +## it under the terms of the GNU General Public License as published by
> ##
> +## the Free Software Foundation; either version 2 of the License, or
> ##
> +## (at your option) any later version.
> ##
> +##
> ##
> +## This program is distributed in the hope that it will be useful, but
> ##
> +## WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY ##
> +## or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
> License   ##
> +## for more details.
> ##
> +##
> ##
> +## You should have received a copy of the GNU General Public License
> ##
> +## along with this program;  if not, write to the Free Software
> ##
> +## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
> USA    ##
> +##
> ##
> +################################################################################
> +
> +export TCID=umount123
> +export TST_TOTAL=2
> +export TST_COUNT=0
> +
> +for tttype in `ls /dev/tty*`
> +do
> +device_no="${tttype}:8"
> +case "$device_no" in
> +[0-9]|[0-9][0-9])
> +    tst_resm TINFO "Testing umount01 with $tttype"
> +    umount01 -D $tttype
> +    RC=$?
> +    if  [ $RC -eq 0 ]
> +    then
> +     tst_resm TPASS "umount01 Passed with $tttype"
> +    else
> +     tst_resm TFAIL "umount01 Failed with $tttype"
> +    fi
> +echo;;
> +esac
> +done
> +
> +
> +for tttype in `ls /dev/tty*`
> +do
> +device_no="${tttype}:8"
> +case "$device_no" in
> +[0-9]|[0-9][0-9])
> +    tst_resm TINFO "Testing umount02 with $tttype"
> +    umount02 -D $tttype
> +    RC=$?
> +    if  [ $RC -eq 0 ]
> +    then
> +     tst_resm TPASS "umount02 Passed with $tttype"
> +    else
> +     tst_resm TFAIL "umount02 Failed with $tttype"
> +    fi
> +echo;;
> +esac
> +done
> +
> +for tttype in `ls /dev/tty*`
> +do
> +device_no="${tttype}:8"
> +case "$device_no" in
> +[0-9]|[0-9][0-9])
> +    tst_resm TINFO "Testing umount03 with $tttype"
> +    umount03 -D $tttype
> +    RC=$?
> +    if  [ $RC -eq 0 ]
> +    then
> +     tst_resm TPASS "umount03 Passed with $tttype"
> +    else
> +     tst_resm TFAIL "umount03 Failed with $tttype"
> +    fi
> +echo;;
> +esac
> +done
> +
> +tst_exit
> +
> 
> Regards--
> Subrata
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to