Home
last modified time | relevance | path

Searched refs:TEST_USER (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/network/tcp_cmds/ftp/
Dftp_setup27 export TEST_USER_HOMEDIR="/home/$TEST_USER"
59 if [ $TEST_USER = "root" -o $TEST_USER = "anonymous" ]; then
63 userdel -r $TEST_USER
66 if ! useradd -m -p $TEST_USER_ENCRYPTED_PASSWD $TEST_USER; then
67 tst_brkm TBROK "Could not add test user $TEST_USER to system $RHOST."
72 USER_UID=$(id -u $TEST_USER)
73 USER_GID=$(id -g $TEST_USER)
80 if [ $TEST_USER != "root" -a $TEST_USER != "anonymous" ]; then
81 userdel -r $TEST_USER
Dftp0433 TEST_USER=root
43 echo "Verifying test user $TEST_USER is in ${ftpusers} database..."
44 FTPUSERS=$(awk "/$TEST_USER/" ${ftpusers})
46 tst_brkm TBROK "$TEST_USER not found in $ftpusers exiting 0 ..."
54 echo "Ftp should reject $TEST_USER from loging in successfully"
59 send \"$TEST_USER\r\"
Dftp0541 TEST_USER="anonymous"
60 send \"$TEST_USER\r\"
77 send \"$TEST_USER\r\"
Dftp0336 export TEST_USER="ftpuser3"
55 send \"$TEST_USER\r\"
72 send \"$TEST_USER\r\"
Dftp0241 export TEST_USER="ftpuser2"
/external/ltp/testcases/commands/cron/
Dcron0230 TEST_USER="c01_user"
32 TEST_USER_HOMEDIR="/home/$TEST_USER"
43 rm -rf /home/$TEST_USER
44 userdel $TEST_USER
47 useradd -m -g $TEST_USER_GROUP $TEST_USER
50 echo "Could not add test user $TEST_USER to system $RHOST."
67 rm -rf /home/$TEST_USER
68 userdel $TEST_USER
77 cron_pos_tests.sh $TEST_USER
Dcron0336 TEST_USER="c02_user"
38 TEST_USER_HOMEDIR="/home/$TEST_USER"
47 rm -rf /home/$TEST_USER
48 userdel $TEST_USER
51 useradd -m -g $TEST_USER_GROUP $TEST_USER
54 echo "Could not add test user $TEST_USER to system $RHOST."
72 rm -rf /home/$TEST_USER
73 userdel $TEST_USER
80 cron_neg_tests.sh $TEST_USER
/external/ltp/testcases/network/tcp_cmds/ssh/
Dssh_setup25 export TEST_USER_HOMEDIR="/home/$TEST_USER"
33 if ! useradd -m -d "$TEST_USER_HOMEDIR" $TEST_USER; then
34 tst_brkm TBROK "Failed to add user $TEST_USER to system $RHOST."
37 echo "$TEST_USER:$TEST_USER_PASSWD" | chpasswd
42 USER_UID=$(id -u $TEST_USER)
43 USER_GID=$(id -g $TEST_USER)
53 userdel -r $TEST_USER 2> /dev/null
Dssh03_s130 set TEST_USER $env(TEST_USER)
33 set RUSER $TEST_USER
Dssh02_s131 set TEST_USER $env(TEST_USER)
34 set RUSER $TEST_USER
Dssh01_s130 set TEST_USER $env(TEST_USER)
33 set RUSER $TEST_USER
Dssh0137 export TEST_USER="ssh_usr1"
Dssh0237 export TEST_USER="ssh_usr2"
Dssh0332 export TEST_USER="ssh_usr3"
/external/autotest/client/site_tests/login_Cryptohome/
Dlogin_Cryptohome.py12 TEST_USER = 'cryptohome_test@chromium.org' variable
36 cryptohome.mount_vault(TEST_USER, TEST_PASS, create=True)
37 test_file = os.path.join(cryptohome.user_path(TEST_USER), 'hello')
39 cryptohome.unmount_vault(TEST_USER)
47 cryptohome.remove_vault(TEST_USER)
/external/autotest/client/site_tests/platform_CryptohomeFio/
Dplatform_CryptohomeFio.py12 TEST_USER = 'test@chromium.org' variable
54 cryptohome.mount_vault(TEST_USER, TEST_PASSWORD,
56 tmpdir = cryptohome.user_path(TEST_USER)
79 cryptohome.unmount_vault(TEST_USER)
80 cryptohome.remove_vault(TEST_USER)
/external/ltp/testcases/kernel/security/prot_hsymlinks/
Dprot_hsymlinks.c59 TEST_USER, enumerator
210 snprintf(users[TEST_USER].name, MAX_USER_NAME, "%s", tmp_user_name); in setup()
322 snprintf(cmd, MAX_CMD_LEN, "%s %s", user_cmd, users[TEST_USER].name); in test_user_cmd()
325 user_cmd, users[TEST_USER].name); in test_user_cmd()
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown02.c62 #define TEST_USER "nobody" macro
173 ltpuser = getpwnam(TEST_USER); in setup()