/freebsd-current/tools/regression/security/cap_test/ |
H A D | cap_test.t | 5 if test -z "${DIR}" ; then DIR=$( make -V .OBJDIR ); fi 6 if test -z "${DIR}" ; then DIR=$( dirname $0 ); fi 9 $DIR/cap_test $*
|
/freebsd-current/crypto/openssh/regress/ |
H A D | sftp-glob.sh | 41 DIR=${BASE}/dir 42 DATA=${DIR}/file 44 GLOB1="${DIR}/g-wild*" 45 GLOB2="${DIR}/g-wildx" 46 QUOTE="${DIR}/g-quote\"" 47 SLASH="${DIR}/g-sl\\ash" 48 ESLASH="${DIR}/g-slash\\" 49 QSLASH="${DIR}/g-qs\\\"" 50 SPACE="${DIR}/g-q space" 53 mkdir -p ${DIR} [all...] |
H A D | scp3.sh | 7 DIR=${COPY}.dd 18 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} 19 mkdir ${DIR} ${DIR2} 20 chmod 755 ${DIR} ${DIR2} 27 cp ${DATA} ${DIR}/copy 28 ln -s ${DIR}/copy ${DIR}/copy-sym 29 mkdir ${DIR}/subdir 30 cp ${DATA} ${DIR}/subdir/copy 31 ln -s ${DIR}/subdi [all...] |
H A D | scp-uri.sh | 9 DIR=${COPY}.dd 20 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} 21 mkdir ${DIR} ${DIR2} 48 $SCP $scpopts ${COPY} "scp://${USER}@somehost:${PORT}/${DIR}" || fail "copy failed" 49 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 54 $SCP $scpopts "scp://${USER}@somehost:${PORT}/${COPY}" ${DIR} || fail "copy failed" 55 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 60 cp ${DATA} ${DIR}/copy 61 $SCP $scpopts -r ${DIR} "scp://${USER}@somehost:${PORT}/${DIR2}" || fail "copy failed" 62 for i in $(cd ${DIR} [all...] |
H A D | scp-ssh-wrapper.sh | 25 BAD="../../../../../../../../../../../../../${DIR}/dotpathdir" 29 echo "D0755 0 /${DIR}/rootpathdir"
|
H A D | scp.sh | 9 DIR=${COPY}.dd 28 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} ${COPY3} ${DIR3} 29 mkdir ${DIR} ${DIR2} ${DIR3} 30 chmod 755 ${DIR} ${DIR2} ${DIR3} 37 cp ${DATA} ${DIR}/copy 38 ln -s ${DIR}/copy ${DIR}/copy-sym 39 mkdir ${DIR}/subdir 40 cp ${DATA} ${DIR}/subdir/copy 41 ln -s ${DIR}/subdi [all...] |
H A D | sftp-uri.sh | 9 DIR=${COPY}.dd 14 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} 15 mkdir ${DIR} ${DIR2} 32 ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config "sftp://${USER}@somehost:${PORT}/${COPY}" ${DIR} || fail "copy failed" 33 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 38 "sftp://${USER}@somehost:${PORT}/${DIR}/" > /dev/null 2>&1 << EOF 46 cmp ${DATA} ${DIR}/copy || fail "corrupted copy" 52 "sftp://${USER}@somehost:${PORT}/${DIR}" > /dev/null 2>&1 << EOF 60 cmp ${DATA} ${DIR}/copy || fail "corrupted copy"
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/ |
H A D | tst.include.ksh | 30 DIR=/var/tmp/dtest.$$ 32 mkdir $DIR 33 cd $DIR 59 /bin/rm -rf $DIR
|
H A D | tst.noprobes.ksh | 32 DIR=/var/tmp/dtest.$$ 34 mkdir $DIR 35 cd $DIR 58 rm -rf $DIR
|
H A D | tst.onlyenabled.ksh | 34 DIR=/var/tmp/dtest.$$ 36 mkdir $DIR 37 cd $DIR 82 /bin/rm -rf $DIR
|
H A D | tst.reeval.ksh | 34 DIR=/var/tmp/dtest.$$ 36 mkdir $DIR 37 cd $DIR 76 system("$DIR/test"); 96 /bin/rm -rf $DIR
|
H A D | tst.badguess.ksh | 34 DIR=/var/tmp/dtest.$$ 36 mkdir $DIR 37 cd $DIR 82 /bin/rm -rf $DIR
|
H A D | tst.user.ksh | 35 DIR=/var/tmp/dtest.$$ 37 mkdir $DIR 38 cd $DIR 94 /bin/rm -rf $DIR
|
H A D | tst.multiple.ksh | 35 DIR=/var/tmp/dtest.$$ 37 mkdir $DIR 38 cd $DIR 97 /bin/rm -rf $DIR
|
H A D | tst.nodtrace.ksh | 38 DIR=/var/tmp/dtest.$$ 40 mkdir $DIR 41 cd $DIR 88 /bin/rm -rf $DIR
|
H A D | tst.fork.ksh | 35 DIR=/var/tmp/dtest.$$ 37 mkdir $DIR 38 cd $DIR 103 /bin/rm -rf $DIR
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mv_files/ |
H A D | random_creation.ksh | 9 DIR="${TESTDIR}/RANDOM_SMALL" 11 log_must mkdir "${DIR}" 15 if ! touch "${DIR}/${i}" ; then 21 visible="$(find "${DIR}" -type f|wc -l)" 29 log_must mv "${DIR}" "${DIR1}" 31 log_must mkdir "${DIR}" 35 if ! touch "${DIR}/${i}" ; then 42 visible="$(find "${DIR}" -type f|wc -l)"
|
/freebsd-current/usr.bin/lastcomm/tests/ |
H A D | legacy_test.sh | 5 DIR=`dirname $0` 25 cat $DIR/v1-$ARCH-acct.in $DIR/v2-$ARCH-acct.in >v1v2-$ARCH-acct.in 26 cat $DIR/v2-$ARCH.out $DIR/v1-$ARCH.out >v1v2-$ARCH.out 30 lastcomm -cesuS -f $DIR/v1-$ARCH-acct.in | check 1 $DIR/v1-$ARCH.out 31 lastcomm -cesuS -f - <$DIR/v1-$ARCH-acct.in | tail -r | check 2 $DIR/v1-$ARCH.out 32 lastcomm -cesuS -f $DIR/v [all...] |
/freebsd-current/include/ |
H A D | dirent.h | 85 typedef struct _dirdesc DIR; typedef in typeref:struct:_dirdesc 96 typedef void * DIR; typedef 105 int dirfd(DIR *); 109 DIR *__opendir2(const char *, int); 110 int fdclosedir(DIR *); 114 DIR *opendir(const char *); 115 DIR *fdopendir(int); 117 readdir(DIR *); 119 int readdir_r(DIR *, struct dirent *, struct dirent **); 121 void rewinddir(DIR *); [all...] |
/freebsd-current/lib/libc/gen/ |
H A D | dirfd.c | 38 dirfd(DIR *dirp)
|
H A D | telldir.h | 93 * One of these structures is malloced for each DIR to record telldir 101 bool _filldir(DIR *, bool); 102 struct dirent *_readdir_unlocked(DIR *, int); 103 void _reclaim_telldir(DIR *); 104 void _seekdir(DIR *, long); 105 void _fixtelldir(DIR *dirp, long oldseek, long oldloc);
|
/freebsd-current/contrib/tcsh/ |
H A D | tw.decls.h | 58 extern void tw_alias_start (DIR *, const Char *); 59 extern void tw_cmd_start (DIR *, const Char *); 60 extern void tw_logname_start (DIR *, const Char *); 61 extern void tw_var_start (DIR *, const Char *); 62 extern void tw_complete_start (DIR *, const Char *); 63 extern void tw_file_start (DIR *, const Char *); 64 extern void tw_vl_start (DIR *, const Char *); 65 extern void tw_wl_start (DIR *, const Char *); 66 extern void tw_bind_start (DIR *, const Char *); 67 extern void tw_limit_start (DIR *, cons [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/ |
H A D | tst.largeusersym.ksh | 33 DIR=/var/tmp/dtest.$$ 35 mkdir $DIR 36 cd $DIR 81 /bin/rm -rf $DIR
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zap_shrink/ |
H A D | zap_shrink_001_pos.ksh | 38 DIR=largedir 47 log_must mkdir $TESTDIR/$DIR 49 cd $TESTDIR/$DIR 56 log_must test $NR_FILES -eq $(ls -U $TESTDIR/$DIR | wc -l) 58 # remove all files in $DIR directory 59 cd $TESTDIR/$DIR 66 log_must test 0 -eq $(ls -U $TESTDIR/$DIR | wc -l) 69 zapobj=$(zdb -v -O $TESTPOOL/$TESTFS $DIR) 77 zapobj=$(zdb -v -O $TESTPOOL/$TESTFS $DIR)
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.provregex1.ksh | 40 DIR=${TMPDIR:-/tmp}/dtest.$$ 42 mkdir $DIR 43 cd $DIR 91 /bin/rm -rf $DIR
|