Hi,
--- Subrata Modak <[EMAIL PROTECTED]> wrote:
> Hi Cai,
>
> I have not removed anything. Instead has added tests to default LTP
> run.
>
No. The clean Makefile target also need to update because they have
been moved to /tmp.
clean:
rm -f acl_file_test acl_link_test
Cai Qian
> Regards--
> Subrata
>
> On Mon, Oct 6, 2008 at 10:24 AM, CAI Qian <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > --- Subrata Modak <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> > >
> > > I am not sure why runtest/admin_tools was kept outside the
> perview of
> > > LTP default run. I found no issues in running it as normally as
> other
> > > LTP tests. Please let me know if some of you have some problem
> > > running
> > > it as default. Also included are some changes for running fs_acls
> > > tests.
> > >
> > > Signed-Off-By: Subrata Modak <[EMAIL PROTECTED]>
> > >
> > > diff -uprN
> > >
> ltp-intermediate-20080919/testcases/kernel/fs/acls-orig/acl_test01
> > > ltp-intermediate-20080919/testcases/kernel/fs/acls/acl_test01
> > > ---
> > >
> ltp-intermediate-20080919/testcases/kernel/fs/acls-orig/acl_test01
> > > 2008-09-22 18:38:25.000000000 +0530
> > > +++ ltp-intermediate-20080919/testcases/kernel/fs/acls/acl_test01
> > > 2008-09-22 18:29:06.000000000 +0530
> > > @@ -1,3 +1,4 @@
> > > +#!/bin/sh
> > >
> > >
> >
>
#*********************************************************************
> > > # Copyright (c) International Business Machines Corp., 2003
> > > #
> > > @@ -24,14 +25,16 @@
> > > # HISTORY:
> > > # 03/03 Jerone Young ([EMAIL PROTECTED])
> > >
> > >
> >
>
#*********************************************************************
> > > +export PATH=$PATH:/usr/sbin/
> > > +
> > > TEST_USER1="acltest1"
> > > TEST_USER1_GROUP="users"
> > > TEST_USER1_PASSWD="ltp_test_pass1"
> > > #ensure the test partition is ACL aware
> > > -TEST_USER1_HOMEDIR="`pwd`/$TEST_USER1"
> > > +TEST_USER1_HOMEDIR="/tmp/$TEST_USER1"
> > >
> > > -FILE_ACL="`pwd`/test_file"
> > > -FILE_ACL_LINK="`pwd`/test_file_link"
> > > +FILE_ACL="/tmp/test_file"
> > > +FILE_ACL_LINK="/tmp/test_file_link"
> > >
> > >
> > >
> >
>
#-----------------------------------------------------------------------
> > > # FUNCTION: do_setup
> > > @@ -125,7 +128,7 @@ else
> > > setfacl -mu:root:r $FILE_ACL
> > >
> > > echo "Trying extended acls for files"
> > > - acl_file_test $FILE_ACL
> > > + ${TCbin}/acl_file_test $FILE_ACL
> > > if [ $? != 0 ]
> > > then
> > > EXIT_CODE=1
> > > @@ -135,7 +138,7 @@ else
> > > fi
> > >
> > > echo "Trying extended acls for file links"
> > > - acl_link_test $FILE_ACL_LINK
> > > + ${TCbin}/acl_link_test $FILE_ACL_LINK
> > > if [ $? != 0 ]
> > > then
> > > EXIT_CODE=1
> > > @@ -152,7 +155,6 @@ else
> > > export TCbin=$PWD
> > > fi
> > >
> > > - su $TEST_USER1 -c "$0"
> > > EXIT_CODE=$?
> > >
> > > do_cleanup
> > > diff -uprN
> > > ltp-intermediate-20080919/testcases/kernel/fs/acls-orig/Makefile
> > > ltp-intermediate-20080919/testcases/kernel/fs/acls/Makefile
> > > ---
> ltp-intermediate-20080919/testcases/kernel/fs/acls-orig/Makefile
> > > 2008-09-22 18:38:25.000000000 +0530
> > > +++ ltp-intermediate-20080919/testcases/kernel/fs/acls/Makefile
> > > 2008-09-22 18:29:36.000000000 +0530
> > > @@ -17,7 +17,8 @@ acl_link_test: acl_link_test.c
> > > $(CC) $(CFLAGS) $(LDFLAGS) -o acl_link_test acl_link_test.c
> > >
> > > install:
> > > - @set -e; for i in $(TARGETS) ; do ln -f $$i ../../../bin/ ;
> done
> > > + chmod 755 acl_test01
> > > + @set -e; for i in $(TARGETS) acl_test01 ; do ln -f $$i
> > > ../../../bin/ ;
> > > done
> > >
> > > clean:
> > > rm -f acl_file_test acl_link_test
> >
> > Those are wrong files to remove.
> >
> > Cai Qian
> >
> > > --- ltp-intermediate-20080919/runltp.orig 2008-09-22
> > > 18:43:12.000000000
> > > +0530
> > > +++ ltp-intermediate-20080919/runltp 2008-09-22
> 18:43:51.000000000
> > > +0530
> > > @@ -511,7 +511,8 @@ main()
> > > ${LTPROOT}/runtest/controllers \
> > > ${LTPROOT}/runtest/filecaps \
> > > ${LTPROOT}/runtest/fcntl-locktests \
> > > - ${LTPROOT}/runtest/connectors
> > > + ${LTPROOT}/runtest/connectors \
> > > + ${LTPROOT}/runtest/admin_tools
> > > do
> > > [ -e "$SCENFILES" ] || \
> > > {
> > >
> > >
> > >
> > >
> >
>
-------------------------------------------------------------------------
> > > 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
> >
>
>
>
> --
> Regards & Thanks--
> 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