/titanic_51/usr/src/cmd/diff3/ |
H A D | diff3.sh | 40 tmpdir=/tmp/diff3.$$ 41 trap '/usr/bin/rm -rf $tmpdir' 0 1 2 3 13 15 42 /usr/bin/mkdir -m 700 $tmpdir || exit 1 65 /usr/bin/cat $f1 > $tmpdir/d3c$$ 66 f1=$tmpdir/d3c$$ 70 /usr/bin/cat $f2 > $tmpdir/d3d$$ 71 f2=$tmpdir/d3d$$ 75 /usr/bin/cat $f3 > $tmpdir/d3e$$ 76 f3=$tmpdir/d3e$$ 79 /usr/bin/diff $f1 $f3 > $tmpdir/d3 [all...] |
/titanic_51/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_cr_xxxxxxxx_template.sh | 49 typeset tmpdir 54 tmpdir="$(mktemp -t -d "test_<description>.XXXXXXXX")" || err_exit "Cannot create temporary directo… 56 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 63 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6862121_shbinexec_kernel_module_defunct.sh | 79 typeset tmpdir 84 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6862121_shbinexec_kernel_module_defunct.XXXXXXXX")" || … 86 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 107 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh | 107 typeset tmpdir 112 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice… 114 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 218 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh | 77 typeset tmpdir 82 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.X… 84 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 171 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6887363_shell_sometimes_mishandles_return_value_of_its_child_process.sh | 66 typeset tmpdir 71 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6887363_shell_sometimes_mishandles_return_value_of_its_… 73 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 180 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh | 74 typeset tmpdir 79 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works… 81 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 190 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh | 70 typeset tmpdir 75 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_sep… 77 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 187 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_compound_misc.sh | 72 typeset tmpdir 76 tmpdir="$(mktemp -t -d "test_sun_solaris_compound_misc.XXXXXXXX")" || err_exit "Cannot create tempo… 78 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 160 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_locale_misc.sh | 45 typeset tmpdir 49 tmpdir="$(mktemp -t -d "test_sun_solaris_locale_misc.XXXXXXXX")" || err_exit "Cannot create tempora… 51 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; }
|
/titanic_51/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_cr_xxxxxxxx_template.sh | 49 typeset tmpdir 54 tmpdir="$(mktemp -t -d "test_<description>.XXXXXXXX")" || err_exit "Cannot create temporary directory" 56 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 63 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6862121_shbinexec_kernel_module_defunct.sh | 79 typeset tmpdir 84 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6862121_shbinexec_kernel_module_defunct.XXXXXXXX")" || err_exit "Cannot create temporary directory" 86 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 107 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh | 107 typeset tmpdir 112 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.XXXXXXXX")" || err_exit "Cannot create temporary directory" 114 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 218 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh | 77 typeset tmpdir 82 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.XXXXXXXX")" || err_exit "Cannot create temporary directory" 84 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 171 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6887363_shell_sometimes_mishandles_return_value_of_its_child_process.sh | 66 typeset tmpdir 71 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6887363_shell_sometimes_mishandles_return_value_of_its_child_process.XXXXXXXX")" || err_exit "Cannot create temporary directory" 73 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 180 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh | 74 typeset tmpdir 79 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.XXXXXXXX")" || err_exit "Cannot create temporary directory" 81 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 190 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh | 70 typeset tmpdir 75 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.XXXXXXXX")" || err_exit "Cannot create temporary directory" 77 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 187 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_compound_misc.sh | 72 typeset tmpdir 76 tmpdir="$(mktemp -t -d "test_sun_solaris_compound_misc.XXXXXXXX")" || err_exit "Cannot create temporary directory" 78 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 160 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
H A D | sun_solaris_locale_misc.sh | 45 typeset tmpdir 49 tmpdir="$(mktemp -t -d "test_sun_solaris_locale_misc.XXXXXXXX")" || err_exit "Cannot create temporary directory" 51 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; } 185 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
|
/titanic_51/usr/src/cmd/calendar/ |
H A D | calendar.sh | 38 tmpdir=/tmp/calendar.$$ 39 /usr/bin/mkdir -m 700 $tmpdir || exit 1 42 _tmp=$tmpdir/cal$$ 46 /usr/bin/rm -rf $tmpdir 90 > $tmpdir/calendar.$$ 91 if [ -s $tmpdir/calendar.$$ ]; then 92 mail ${_user} < $tmpdir/calendar.$$
|
/titanic_51/usr/src/cmd/rexd/ |
H A D | under.c | 90 char *tmpdir, *subdir, *parsefs(); local 130 tmpdir = mktemp("/tmp/underXXXXXX"); 136 tmpdir, errno, strerror(errno)); 140 if (mkdir(tmpdir, 0777)) 142 perror(tmpdir); 148 tmpdir, errno, strerror(errno)); 156 if (mount_nfs(dir, tmpdir, error)) 160 strcpy(dirbuf, tmpdir); 164 if (umount_nfs(dir, tmpdir)) 166 rmdir(tmpdir); [all...] |
H A D | rpc.rexd.c | 100 char *tmpdir; /* where above is mounted, NULL if none */ variable 789 if (tmpdir) { in rex_cleanup() 800 if (nfsdir[0] && umount_nfs(nfsdir, tmpdir)) in rex_cleanup() 803 tmpdir); in rex_cleanup() 804 if (rmdir(tmpdir) < 0) in rex_cleanup() 807 tmpdir = NULL; in rex_cleanup() 915 tmpdir = mktemp(TempName); 923 if (mkdir(tmpdir, 0777)) { 934 tmpdir, errno); 938 if (mount_nfs(wanted, tmpdir, erro [all...] |
/titanic_51/usr/src/cmd/bnu/ |
H A D | uupick | 51 tmpdir=/tmp/bnu.$$ 52 trap '/usr/bin/rm -rf $tmpdir' 0 1 2 3 15 53 /usr/bin/mkdir -m 700 $tmpdir || exit 1 115 # As files are transferred, put their names in $tmpdir/$$uupick. 137 grep -v '^\.$' > $tmpdir/$$uupick 140 find $j -depth -print > $tmpdir/$$uupick 143 cpio -pdmu $tdir < $tmpdir/$$uupick 144 for k in `cat $tmpdir/$$uupick` 158 rm -f $tmpdir/$$uupick
|
/titanic_51/usr/src/cmd/backup/restore/ |
H A D | main.c | 65 char *tmpdir; variable 531 tmpdir = getenv("TMPDIR"); in set_tmpdir() 532 if ((tmpdir == (char *)NULL) || (*tmpdir == '\0')) in set_tmpdir() 533 tmpdir = "/tmp"; in set_tmpdir() 535 if (*tmpdir != '/') { in set_tmpdir() 538 tmpdir); in set_tmpdir() 543 * The actual use of tmpdir is in dirs.c, and is of the form in set_tmpdir() 544 * tmpdir + "/rst" + type (three characters) + "%ld.XXXXXX" + in set_tmpdir() 557 if (strlen(tmpdir) > (MAXPATHLE in set_tmpdir() [all...] |
/titanic_51/usr/src/tools/scripts/ |
H A D | onu.sh.in | 231 tmpdir=`/usr/bin/mktemp -d /tmp/onu.XXXXXX` 232 [ -z "$tmpdir" ] && exit_error "mktemp failed" 235 do_cmd beadm mount $targetbe $tmpdir 236 update $tmpdir 240 for zone in `do_cmd zoneadm -R $tmpdir list -cip`; do
|