"-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."
-- 
1.7.1

-- 
Best Regards,
Peng Haitao


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to