Lines Matching refs:SHELL
73 [[ $($SHELL -c 'print -r -- "$PATH"') == "$PATH" ]] || err_exit 'export PATH lost in subshell'
88 [[ $($SHELL ./bug1 2>/dev/null) == ok ]] || err_exit "PATH in function not working"
101 ($SHELL ./bug1) 2> /dev/null || err_exit "path_delete bug"
103 if $SHELL tdir > /dev/null 2>&1
108 if [[ $($SHELL ls 2> /dev/null) != hi ]]
109 then err_exit "$SHELL name not executing version in current directory"
169 got=$($SHELL -c "unset FPATH; PATH=/dev/null; $cmd" 2>&1)
171 got=$($SHELL -c "unset FPATH; PATH=/dev/null; $cmd" 2>&1)
182 got=$($SHELL -c "unset FPATH; PATH=/dev/null; whence ./notfound" 2>&1)
184 got=$($SHELL -c "unset FPATH; PATH=/dev/null; whence $PWD/notfound" 2>&1)
257 status=$($SHELL -c $'trap \'print $?\' EXIT;/xxx/a/b/c/d/e 2> /dev/null')
259 status=$($SHELL -c $'trap \'print $?\' EXIT;/dev/null 2> /dev/null')
261 status=$($SHELL -c $'trap \'print $?\' ERR;/xxx/a/b/c/d/e 2> /dev/null')
263 status=$($SHELL -c $'trap \'print $?\' ERR;/dev/null 2> /dev/null')
287 got=$($SHELL -c "$scr; print \$?" 2>/dev/null)
288 [[ "$got" == "$exp" ]] || err_exit "\$SHELL -c of unreadable empty script should fail -- expected $exp, got" $got
289 got=$($SHELL -c "command $scr; print \$?" 2>/dev/null)
290 [[ "$got" == "$exp" ]] || err_exit "\$SHELL -c of command of unreadable empty script should fail -- expected $exp, got" $got
301 got=$($SHELL -c "$scr; print \$?" 2>/dev/null)
302 [[ "$got" == "$exp" ]] || err_exit "\$SHELL -c of unreadable non-empty script should fail -- expected $exp, got" $got
303 got=$($SHELL -c "command $scr; print \$?" 2>/dev/null)
304 [[ "$got" == "$exp" ]] || err_exit "\$SHELL -c of command of unreadable non-empty script should fail -- expected $exp, got" $got
332 $SHELL -c 'whence -q cat' & pid=$!
352 { PATH=:${rm%/rm} $SHELL -c "cd \"$rmdir\";whence -a rm";} > /dev/null 2>&1
366 x=$(FPATH= PATH=$PWD/bin $SHELL -c ': $(whence less);myfun') 2> /dev/null
383 $SHELL 2> /dev/null <<- \EOF || err_exit 'path search problem with non-existant directories in PATH'