Hi, Any comments on the following patch?
Thanks, Peng Peng Haitao said the following on 2011-6-11 14:14: > > "-d `pwd`/$TEST_USER1_HOMEDIR" should be replaced with "-d > $TEST_USER1_HOMEDIR" in the line of useradd. > > Signed-off-by: Peng Haitao <[email protected]> > --- > testcases/kernel/fs/acls/acl_test01 | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/testcases/kernel/fs/acls/acl_test01 > b/testcases/kernel/fs/acls/acl_test01 > index 8b92bb3..59e38ac 100755 > --- a/testcases/kernel/fs/acls/acl_test01 > +++ b/testcases/kernel/fs/acls/acl_test01 > @@ -70,7 +70,7 @@ do_setup(){ > rm -rf $TEST_USER1_HOMEDIR > userdel $TEST_USER1 > /dev/null 2>&1 > sleep 1 > - useradd -d `pwd`/$TEST_USER1_HOMEDIR -m -g $TEST_USER1_GROUP > $TEST_USER1 -s /bin/sh > + useradd -d $TEST_USER1_HOMEDIR -m -g $TEST_USER1_GROUP $TEST_USER1 -s > /bin/sh > > if [ $? -ne 0 ]; then > echo "Could not add test user $TEST_USER1." -- Best Regards, Peng Haitao ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
