Searched refs:TMPFILE (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/test/typedef/
H A Dtst.cleanupstruct.ksh8 TMPFILE="/tmp/$(mktemp mtest.XXXXXX)"
9 if [[ -z "$TMPFILE" ]]; then
16 ::typedef -l ! cat > $TMPFILE
19 DATA=$(cat $TMPFILE)
20 rm -f $TMPFILE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_003_pos.ksh51 [[ -f $TMPFILE ]] && log_must rm -f $TMPFILE
82 TMPFILE=/tmp/spool.$$
83 zpool history $spool >$TMPFILE
84 typeset -i entry_count=$(wc -l $TMPFILE | awk '{print $1}')
85 typeset final_md5=$(head -2 $TMPFILE | md5sum | awk '{print $1}')
87 grep 'zpool create' $TMPFILE >/dev/null 2>&1 ||
90 grep 'zfs create' $TMPFILE >/dev/null 2>&1 &&
93 grep 'zfs set compress' $TMPFILE >/dev/null 2>&1 ||
/illumos-gate/usr/src/cmd/lvm/util/
H A Dsvc-metasync35 TMPFILE=/var/run/metaset.$$
57 # into the TMPFILE
63 }' > $TMPFILE 2>&1
65 if [ -s "$TMPFILE" ]; then
67 for i in `cat $TMPFILE`; do
84 if [ -f "$TMPFILE" ]; then
85 /usr/bin/rm -f $TMPFILE
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dexportent.c44 static char *TMPFILE = "/tmp/xtabXXXXXX"; variable
134 fname = (char *) malloc(strlen(TMPFILE) + 1);
138 (void)strcpy(fname, TMPFILE);
/illumos-gate/usr/src/cmd/cron/
H A Dcrontab.c61 #define TMPFILE "_cron" /* prefix for tmp file */ macro
417 tnam = xmalloc(strlen(CRONDIR)+strlen(TMPFILE)+7);
418 strcat(strcat(strcat(strcpy(tnam, CRONDIR), "/"), TMPFILE), pid);
H A Dat.c57 #define TMPFILE "_at" /* prefix for temporary files */ macro
355 tflen = strlen(ATDIR) + 1 + strlen(TMPFILE) +
358 snprintf(tfname, tflen, "%s/%s%d", ATDIR, TMPFILE, getpid());
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioFile.cc54 #define TMPFILE "/audiotoolXXXXXX" macro
144 tmpstr = (char *)malloc(1 + strlen(TMPFILE) +
147 (tmpdir == NULL) ? TMPDIR : tmpdir, TMPFILE);
/illumos-gate/usr/src/cmd/tsol/labeld/
H A Dsvc-labeld222 TMPFILE=$PAM_TMP/pam.conf
240 grep -v pam_tsol_account $PAM_DEST > $TMPFILE
242 cp $TMPFILE $PAM_DEST

Completed in 65 milliseconds