Lines Matching refs:dev
75 if [[ -f /dev/null ]]
76 then err_exit "-f: /dev/null should not be an ordinary file"
110 if [[ ! -r /dev/fd/0 ]]
111 then err_exit "/dev/fd/0 not open for reading"
113 if [[ ! -w /dev/fd/2 ]]
114 then err_exit "/dev/fd/2 not open for writing"
165 x='bin|dev|?'
170 if [[ dev != $x ]]
183 test \( -n x \) -o \( -n y \) 2> /dev/null || err_exit 'test ( -n x ) -o ( -n y) not working'
184 test \( -n x \) -o -n y 2> /dev/null || err_exit 'test ( -n x ) -o -n y not working'
198 } 2> /dev/null || { set +x; err_exit "foo<bar with -x enabled" ;}
202 ) 2> /dev/null || err_exit "[[ (a) ]] not working"
232 $SHELL -c 't=1234567890; [[ $t == @({10}(\d)) ]]' 2> /dev/null || err_exit ' @({10}(\d)) pattern not working'
233 $SHELL -c '[[ att_ == ~(E)(att|cus)_.* ]]' 2> /dev/null || err_exit ' ~(E)(att|cus)_* pattern not working'
234 $SHELL -c '[[ att_ =~ (att|cus)_.* ]]' 2> /dev/null || err_exit ' =~ ere not working'
235 $SHELL -c '[[ abc =~ a(b)c ]]' 2> /dev/null || err_exit '[[ abc =~ a(b)c ]] fails'
236 $SHELL -xc '[[ abc =~ \babc\b ]]' 2> /dev/null || err_exit '[[ abc =~ \babc\b ]] fails'
245 [[ $($SHELL -c 'case F in ~(Eilr)[a-z0-9#]) print ok;;esac' 2> /dev/null) == ok ]] || err_exit '~(Eilr) not working in case command'
246 [[ $($SHELL -c "case Q in ~(Fi)q | \$'\E') print ok;;esac" 2> /dev/null) == ok ]] || err_exit '~(Fi)q | \E not working in case command'
289 if ( : < /dev/tty ) 2>/dev/null && exec {n}< /dev/tty