Home
last modified time | relevance | path

Searched refs:LTPTMP (Results 1 – 23 of 23) sorted by relevance

/external/ltp/testcases/commands/mail/
Dmail_tests.sh45 LTPTMP=${TMPBASE:-/tmp}
70 cat > $LTPTMP/tst_mail.in <<EOF
82 useradd -m -s /sbin/nologin mail_test > $LTPTMP/tst_mail.out 2>&1
84 tst_brk TBROK $LTPTMP/tst_mail.out NULL \
113 mail -s "Test" root@localhost < $LTPTMP/tst_mail.in \
114 > $LTPTMP/tst_mail.out 2>&1
116 tst_res TFAIL $LTPTMP/tst_mail.out \
124 echo "d" | mail -u root > $LTPTMP/tst_mail.res 2>&1
125 mailsub=$(awk '/^>N/ {print match($9, "Test")}' $LTPTMP/tst_mail.res)
130 tst_res TFAIL $LTPTMP/tst_mail.res \
[all …]
/external/ltp/testcases/commands/logrotate/
Dlogrotate_tests.sh57 which $2 > $LTPTMP/tst_logrotate.err 2>&1 || RC=$?
88 LTPTMP=/tmp/tst_logrotate.$$
90 LTPTMP=$TMP/tst_logrotate.$$
93 mkdir -p $LTPTMP > /dev/null 2>&1 || RC=$?
123 tst_resm TINFO "CLEAN: removing $LTPTMP"
124 rm -fr $LTPTMP
149 tst_resm TINFO "Test #1: create a configfile $LTPTMP/var_mesg.config"
157 cat >$LTPTMP/tst_logrotate.conf <<-EOF
192 chmod 644 $LTPTMP/tst_logrotate.conf
193 logrotate -fv $LTPTMP/tst_logrotate.conf > $LTPTMP/tst_logrotate.out 2>&1 \
[all …]
/external/ltp/testcases/commands/sssd/
Dsssd0358 sss_usermod -s $LTPTMP/noshell $username
59 getent passwd $username@LOCAL | grep "$LTPTMP/noshell" >/dev/null 2>&1
61 tst_resm TPASS "sssd: user home dir is $LTPTMP/noshell."
63 tst_resm TFAIL "sssd: user home dir should be $LTPTMP/noshell."
79 sed -i -e "/\[nss\]/ a\allowed_shells = $LTPTMP/noshell" $CONFIG_FILE
82 sss_usermod -s $LTPTMP/noshell $username
109 sed -i -e "/\[nss\]/ a\allowed_shells = $LTPTMP/noshell" $CONFIG_FILE
113 sss_usermod -s $LTPTMP/noshell $username
173 sss_usermod -s $LTPTMP/noshell $username
194 grep -v -w -E "nologin|sh|bash" /etc/shells > $LTPTMP/all_shells
[all …]
Dsssd0134 sed -i -e "/\[nss\]/ a\override_homedir = $LTPTMP" $CONFIG_FILE
37 getent passwd $username@LOCAL | grep "$LTPTMP" >/dev/null 2>&1
39 tst_resm TFAIL "sssd: user home dir should be not $LTPTMP."
46 getent passwd $username@LOCAL | grep "$LTPTMP" >/dev/null 2>&1
48 tst_resm TPASS "sssd: user home dir is $LTPTMP."
50 tst_resm TFAIL "sssd: user home dir should be $LTPTMP."
66 sed -i -e "/\[domain\/LOCAL\]/ a\override_homedir = $LTPTMP/%u_%U@%d" \
71 home_dir="$LTPTMP/${username}_$uid@LOCAL"
101 sed -i -e "/\[nss\]/ a\override_homedir = $LTPTMP/%f" $CONFIG_FILE
104 home_dir="$LTPTMP/$username@LOCAL"
Dsssd-lib.sh25 if [ -z "$LTPTMP" -a -z "$TMPBASE" ]; then
26 LTPTMP=/tmp
28 LTPTMP=$TMPBASE
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/
Dtpmtoken_protect_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
36 export TPM_ENCDATA="$LTPTMP/tst_tpm_data.enc"
38 export TPM_DECDATA="$LTPTMP/tst_tpm_data.dec"
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_takeownership/
Dtpm_takeownership_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_version/
Dtpm_version_tests.sh28 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
30 LTPTMP="/tmp"
32 LTPTMP="$TMPBASE"
35 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_clear/
Dtpm_clear_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_getpubek/
Dtpm_getpubek_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_selftest/
Dtpm_selftest_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/
Dtpmtoken_objects_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/
Dtpmtoken_import_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
35 export TPM_CERTFILE="$LTPTMP/tst_tpm.cert"
37 export TPM_KEYFILE="$LTPTMP/tst_tpm.key"
39 export TPM_COMBFILE="$LTPTMP/tst_tpm.comb"
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_changeauth/
Dtpm_changeauth_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_restrictpubek/
Dtpm_restrictpubek_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/
Dtpmtoken_init_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/
Dtpmtoken_setpasswd_tests.sh24 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
26 LTPTMP="/tmp"
28 LTPTMP="$TMPBASE"
31 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testscripts/
Dtpm_tools.sh54 if [ -z "$LTPTMP" ] && [ -z "$TMPBASE" ]
56 LTPTMP="/tmp"
58 LTPTMP="$TMPBASE"
60 export TPM_TMPFILE="$LTPTMP/tst_tpm.err"
/external/ltp/testcases/kernel/security/mmc_security/
Dask_password.sh44 LTPTMP=${TMP} # Temporary directory to create files, etc.
Dremove_password.sh42 LTPTMP=${TMP} # Temporary directory to create files, etc.
Dassign_password.sh42 LTPTMP=${TMP} # Temporary directory to create files, etc.
Dchange_password.sh40 LTPTMP=${TMP} # Temporary directory to create files, etc.
Dforce_erase.sh43 LTPTMP=${TMP} # Temporary directory to create files, etc.