Lines Matching refs:dev
56 print $'(print -u1 aha) &>/dev/null\n(print -u2 aha) &>/dev/null' > $env
63 got=$($SHELL -E -c : 2>/dev/null)
67 err_exit "\$ENV file &>/dev/null does not redirect stdout -- expected '', got $got"
69 got=$($SHELL -E -c : 2>&1 >/dev/null)
73 err_exit "\$ENV file &>/dev/null does not redirect stderr -- expected one diagnostic line, got $got"
159 if command set -G 2> /dev/null
190 [[ $(HOME=$PWD $SHELL -l </dev/null 2>&1) == *$t* ]] &&
192 [[ $(HOME=$PWD $SHELL --login </dev/null 2>&1) == *$t* ]] &&
194 [[ $(HOME=$PWD $SHELL --login-shell </dev/null 2>&1) == *$t* ]] &&
196 [[ $(HOME=$PWD $SHELL --login_shell </dev/null 2>&1) == *$t* ]] &&
198 [[ $(HOME=$PWD exec -a -ksh $SHELL </dev/null 2>&1) == *$t* ]] &&
200 [[ $(HOME=$PWD ./-ksh -i </dev/null 2>&1) == *$t* ]] &&
202 [[ $(HOME=$PWD ./-ksh -ip </dev/null 2>&1) == *$t* ]] &&
205 [[ $(HOME=$PWD $SHELL -l </dev/null 2>&1) == *$t* ]] ||
207 [[ $(HOME=$PWD $SHELL --login </dev/null 2>&1) == *$t* ]] ||
209 [[ $(HOME=$PWD $SHELL --login-shell </dev/null 2>&1) == *$t* ]] ||
211 [[ $(HOME=$PWD $SHELL --login_shell </dev/null 2>&1) == *$t* ]] ||
213 [[ $(HOME=$PWD exec -a -ksh $SHELL </dev/null 2>/dev/null) == *$t* ]] ||
214 err_exit 'exec -a -ksh ksh 2>/dev/null ignores .profile'
215 [[ $(HOME=$PWD exec -a -ksh $SHELL </dev/null 2>&1) == *$t* ]] ||
217 [[ $(HOME=$PWD ./-ksh -i </dev/null 2>&1) == *$t* ]] ||
219 [[ $(HOME=$PWD ./-ksh -ip </dev/null 2>&1) == *$t* ]] &&
364 ( nopipefail=0 pipefail=0 command='print hi|(sleep 1;/bin/cat)>/dev/null' )
402 ) | wc >/dev/null
407 pipe() { date | cat > /dev/null ;}
420 do HOME=$tmp ENV= $SHELL -$i >/dev/null 2>&1 <<- ++EOF++ || err_exit "option $i not in \$-"
429 do HOME=$tmp ENV= $SHELL -o $i >/dev/null 2>&1 <<- ++EOF++ || err_exit "option $i not equivalent to ${letters:j:1}"
446 ( unset HISTFILE; $SHELL -ic "HISTFILE=$histfile" 2>/dev/null ) || err_exit "setting HISTFILE when not in environment fails"
482 $SHELL 2> /dev/null -c '{; true ;}' || err_exit 'leading ; causes syntax error in brace group'
483 $SHELL 2> /dev/null -c '(; true ;)' || err_exit 'leading ; causes syntax error in parenthesis group'
487 $SHELL --pipefail -c './pipefail 10000 | sed 1q' >/dev/null 2>&1 &
489 { sleep 4; kill $tst; } 2>/dev/null &
491 wait $tst 2>/dev/null
494 then kill $spy 2>/dev/null