Searched refs:HOME (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dtilde.sh46 if [[ ~ != $HOME ]]
47 then err_exit '~' not $HOME
50 if [[ $x != $HOME ]]
51 then err_exit x=~ not $HOME
54 if [[ $x != x:$HOME ]]
55 then err_exit x=x:~ not x:$HOME
85 if [[ $x != "$HOME:$HOME" ]]
86 then err_exit "x=~:~ failed, expected '$HOME:$HOME', go
[all...]
H A Doptions.sh108 [[ $(print env_hit | HOME=$tmp $SHELL 2>&1) == "OK" ]] &&
109 err_exit 'privileged nointeractive shell reads $HOME/.kshrc file'
110 [[ $(print env_hit | HOME=$tmp $SHELL -E 2>&1) == "OK" ]] &&
112 [[ $(print env_hit | HOME=$tmp $SHELL +E 2>&1) == "OK" ]] &&
113 err_exit 'privileged +E reads $HOME/.kshrc file'
114 [[ $(print env_hit | HOME=$tmp $SHELL --rc 2>&1) == "OK" ]] &&
116 [[ $(print env_hit | HOME=$tmp $SHELL --norc 2>&1) == "OK" ]] &&
117 err_exit 'privileged --norc reads $HOME/.kshrc file'
119 [[ $(print env_hit | HOME=$tmp $SHELL 2>&1) == "OK" ]] &&
120 err_exit 'nointeractive shell reads $HOME/
[all...]
H A Dexit.sh48 HOME=$PWD \
H A Dquoting2.sh79 x=$(print -r -- "\"$HOME\"")
80 if [[ $x != '"'$HOME'"' ]]
H A Dsubshell.sh453 exp=HOME=$HOME
454 ( HOME=/bin/sh )
455 got=$(env | grep ^HOME=)
456 [[ $got == "$exp" ]] || err_exit "( HOME=/bin/sh ) cleanup failed -- expected '$exp', got '$got'"
H A Dquoting.sh78 x=$(print -r -- "\"$HOME\"")
79 if [[ $x != '"'$HOME'"' ]]
/illumos-gate/usr/src/cmd/saf/
H A Dmisc.h58 # define HOME "/etc/saf" /* SAC home dir */ macro
H A Dadmutil.c73 * Names will be of the form HOME/xxx/.name, where HOME
77 * will generate a tempname of HOME/foo/._config
90 (void) sprintf(buf, "%s/.%s", HOME, bname);
92 (void) strcpy(buf, HOME);
158 (void) sprintf(buf, "%s/%s", HOME, fname);
272 * basename - name of script (relative to HOME (from misc.h))
330 (void) sprintf(buf, "%s/%s", HOME, basename);
H A Dpmadm.c459 (void) sprintf(fname, "%s/%s/_pmtab", HOME, tp->t_tag);
514 (void) sprintf(fname, "%s/%s/_pmtab", HOME, tp->t_tag);
574 (void) sprintf(buf, "%s/%s", HOME, fname);
577 (void) sprintf(buf, "Could not open %s/%s", HOME, fname);
620 (void) sprintf(buf, "%s/%s/%s", HOME, pmtag, svctag);
666 (void) sprintf(buf, "%s/%s", HOME, fname);
669 (void) sprintf(buf, "Could not open %s/%s", HOME, fname);
822 (void) sprintf(fname, "%s/%s/_pmtab", HOME, tp->t_tag);
982 (void) sprintf(fname, "%s/%s/_pmtab", HOME, tp->t_tag);
1060 (void) sprintf(buf, "error reading %s/%s/_pmtab", HOME, ta
[all...]
H A Dsacadm.c480 (void) sprintf(fname, "%s/%s", (i == 0 ) ? HOME : ALTHOME, tag);
537 (void) sprintf(fname, "%s/%s/_pmpipe", HOME, tag);
548 (void) sprintf(fname, "%s/%s/_pid", HOME, tag);
560 (void) sprintf(fname, "%s/%s/_pmtab", HOME, tag);
659 if (snprintf(buf, sizeof (buf), "%s/%s", HOME, tag) >= sizeof (buf))
H A Dsac.c164 if (chdir(HOME) < 0)
586 HOME, sp->sc_tag);
H A Dmisc.c566 (void) sprintf(Scratch, "%s/%s/_pid", HOME, sp->sc_tag);
/illumos-gate/usr/src/tools/gk/
H A Dgen_make.machines.sh37 EXISTING=$(grep "^$THISHOST" $HOME/.make.machines |awk -F"=" '{print $2}')
40 printf "Your existing \$HOME/.make.machines has a concurrency "
46 printf "$THISHOST max=$max\n" >> $HOME/.make.machines
/illumos-gate/usr/src/head/
H A Dlisten.h131 #define HOME "HOME" macro
/illumos-gate/usr/src/uts/common/sys/
H A Dcrtctl.h46 #define HOME 0105 /* Cursor home */ macro
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dshnote.sh149 mkdir -p "${HOME}/.shnote"
365 typeset -r history_file="${HOME}/.shnote/history0.txt"
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dsource.c65 #define HOME "HOME" macro
112 home = getenv(HOME);
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dvariables.h35 #define HOME (sh.bltin_nodes+5) macro
/illumos-gate/usr/src/lib/libnsl/saf/
H A Ddoconfig.c406 /* if nothing there, try to cd to $HOME */
407 tp = getenv("HOME");
/illumos-gate/usr/src/tools/scripts/
H A Dhgsetup.sh41 HGRC=$HOME/.hgrc
H A DInstall.sh69 INSTALL_STATE=${INSTALL_STATE-$HOME/.Install.state}
76 INSTALL_LIB=${INSTALL_LIB-$HOME/LibInstall}
78 INSTALL_RC=${INSTALL_RC-$HOME/.Installrc}
120 [ -D libdir (default: $HOME/LibInstall) ]
/illumos-gate/usr/src/cmd/tip/
H A Dtip.h218 #define HOME 22 macro
H A Dvalue.c46 * Read the .tiprc file in the HOME directory
49 if ((cp = value(HOME)) == NULL)
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dcd_pwd.c90 dir = nv_getval(HOME);
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dmagic.c2220 if ((strneq(s, "~/", n = 2) || strneq(s, "$HOME/", n = 6) || strneq(s, "${HOME}/", n = 8)) && (t = getenv("HOME")))

Completed in 125 milliseconds

12