Searched refs:fail (Results 1 – 25 of 629) sorted by relevance
12345678910>>...26
42 v=$(returns_ 1 readlink -e .) || fail=143 test -z "$v" || fail=146 cd "$pwd/$tmp" || fail=150 v=$(readlink -f "${p}regfile") || fail=151 test "$v" = "$my_pwd/$tmp/regfile" || fail=153 v=$(returns_ 1 readlink -f "${p}./regfile/") || fail=154 test -z "$v" || fail=156 v=$(returns_ 1 readlink -f "${p}regfile/more") || fail=157 test -z "$v" || fail=159 v=$(returns_ 1 readlink -f "${p}./regfile/more/") || fail=1[all …]
41 v=$(returns_ 1 readlink -e .) || fail=142 test -z "$v" || fail=145 cd "$pwd/$tmp" || fail=149 v=$(readlink -m "${p}regfile") || fail=150 test "$v" = "$my_pwd/$tmp/regfile" || fail=152 v=$(readlink -m "${p}./regfile/") || fail=153 test "$v" = "$my_pwd/$tmp/regfile" || fail=155 v=$(readlink -m "${p}regfile/more") || fail=156 test "$v" = "$my_pwd/$tmp/regfile/more" || fail=158 v=$(readlink -m "${p}./regfile/more/") || fail=1[all …]
41 v=$(returns_ 1 readlink -e .) || fail=142 test -z "$v" || fail=145 cd "$pwd/$tmp" || fail=149 v=$(readlink -e "${p}regfile") || fail=150 test "$v" = "$my_pwd/$tmp/regfile" || fail=152 v=$(returns_ 1 readlink -e "${p}./regfile/") || fail=153 test -z "$v" || fail=155 v=$(readlink -e "${p}subdir") || fail=156 test "$v" = "$my_pwd/$tmp/subdir" || fail=158 v=$(readlink -e "${p}./subdir/") || fail=1[all …]
72 du --threshold=SIZE a > out 2>&1 && fail=173 compare exp out || fail=178 du -t SIZE a > out 2>&1 && fail=179 compare exp out || fail=185 du --threshold=-0 a > out 2>&1 && fail=186 compare exp out || fail=188 du -t -0 a > out 2>&1 && fail=189 compare exp out || fail=191 du -t-0 a > out 2>&1 && fail=192 compare exp out || fail=1[all …]
26 du --inodes d > out 2>err || fail=127 compare exp out || fail=128 compare /dev/null err || fail=134 du --inodes d > out 2>err || fail=135 compare exp out || fail=136 compare /dev/null err || fail=140 du --inodes d > out 2>err || fail=141 compare exp out || fail=142 compare /dev/null err || fail=146 du --inodes -l d > out 2>err || fail=1[all …]
25 tr '[:lower:]' '0-9' > out || fail=126 compare exp out || fail=128 tr '[:lower:][:lower:]' '[:upper:]0-9' > out || fail=129 compare exp out || fail=132 returns_ 1 tr 'A-Z[:lower:]' 'a-y[:upper:]' </dev/null || fail=133 returns_ 1 tr '[:upper:][:lower:]' 'a-y[:upper:]' </dev/null || fail=134 returns_ 1 tr 'A-Y[:lower:]' 'a-z[:upper:]' </dev/null || fail=135 returns_ 1 tr 'A-Z[:lower:]' '[:lower:][:upper:]' </dev/null || fail=136 returns_ 1 tr 'A-Z[:lower:]' '[:lower:]A-Z' </dev/null || fail=137 tr '[:upper:][:lower:]' 'a-z[:upper:]' < /dev/null || fail=1[all …]
23 returns_ 1 env kill || fail=124 returns_ 1 env kill -TERM || fail=127 returns_ 1 env kill -l -l || fail=128 returns_ 1 env kill -l -t || fail=129 returns_ 1 env kill -l -s 1 || fail=130 returns_ 1 env kill -t -s 1 || fail=133 returns_ 1 env kill -0 no_pid || fail=134 env kill -0 $$ || fail=135 env kill -s0 $$ || fail=136 env kill -n0 $$ || fail=1 # bash compat[all …]
43 realpath -Pqz . >/dev/null || fail=145 returns_ 1 realpath >/dev/null || fail=146 returns_ 1 realpath --relative-base . --relative-to . || fail=147 returns_ 1 realpath --relative-base . || fail=150 returns_ 1 realpath -e --relative-to=dir1/f --relative-base=. . || fail=151 realpath -e --relative-to=dir1/ --relative-base=. . || fail=154 returns_ 1 realpath -m '' || fail=155 returns_ 1 realpath --relative-base= --relative-to=. . || fail=159 test "$(realpath ldir2/..)" = "$this/dir1" || fail=160 test "$(realpath -L ldir2/..)" = "$this" || fail=1[all …]
29 cp a b >&- || fail=130 test -f b || fail=131 chmod o-w . >&- || fail=132 ln a c >&- || fail=133 rm c >&- || fail=134 mkdir d >&- || fail=135 mv d e >&- || fail=136 rmdir e >&- || fail=137 touch e >&- || fail=138 sleep 0 >&- || fail=1[all …]
48 tail --retry file > out 2>&1 || fail=149 [ "$(countlines_)" = 1 ] || { cat out; fail=1; }50 grep -F 'tail: warning: --retry ignored' out || { cat out; fail=1; }54 returns_ 1 tail --retry missing > out 2>&1 || fail=155 [ "$(countlines_)" = 2 ] || { cat out; fail=1; }56 grep -F 'tail: warning: --retry ignored' out || { cat out; fail=1; }67 retry_delay_ wait4lines_ .1 6 1 || { cat out; fail=1; }70 retry_delay_ wait4lines_ .1 6 3 || { cat out; fail=1; }73 [ "$(countlines_)" = 3 ] || { fail=1; cat out; }74 grep -F 'cannot open' out || { fail=1; cat out; }[all …]
35 env - > out || fail=136 compare /dev/null out || fail=137 env -i > out || fail=138 compare /dev/null out || fail=139 env -u a -i -u a -- > out || fail=140 compare /dev/null out || fail=141 env -i -- a=b > out || fail=143 compare exp out || fail=146 returns_ 125 env --- || fail=1 # unknown option47 returns_ 125 env -u || fail=1 # missing option argument[all …]
30 ginstall $file $dir || fail=132 test -f $file || fail=134 test -f $dir/$file || fail=146 cp "$just_built_dd" . || fail=147 cp $dd $dd2 || fail=159 ginstall $strip -c -m 555 $dd $dir || fail=161 test -f $dd || fail=165 test "$mode" = -r-xr-xr-x || fail=168 ginstall -d . || fail=169 ginstall -d newdir || fail=1[all …]
38 ginstall -Cv -o$u1 -g$g1 a b > out || fail=139 compare out out_installed_first || fail=142 ginstall -Cv -o$u1 -g$g1 a b > out || fail=143 compare out out_empty || fail=146 ginstall -v -o$u1 -g$g1 a b > out || fail=147 compare out out_installed_second || fail=150 ginstall -Cv -o$u2 -g$g1 a b > out || fail=151 compare out out_installed_second || fail=152 ginstall -Cv -o$u2 -g$g1 a b > out || fail=153 compare out out_empty || fail=1[all …]
60 ginstall -Cv -m$mode1 a b > out || fail=161 compare out out_installed_first || fail=164 ginstall -Cv -m$mode1 a b > out || fail=165 compare out out_empty || fail=168 ginstall -v --compare -m$mode1 a b > out || fail=169 compare out out_empty || fail=172 ginstall -v -m$mode1 a b > out || fail=173 compare out out_installed_second || fail=176 ginstall -Cv -m$mode3 a b > out || fail=177 compare out out_installed_second || fail=1[all …]
24 split -n 10 /dev/null || fail=125 test "$(stat -c %s x* | uniq -c | sed 's/^ *//; s/ /x/')" = "10x0" || fail=133 split -n 4 abc || fail=134 compare exp-a xaa || fail=135 compare exp-b xab || fail=136 compare exp-c xac || fail=137 compare /dev/null xad || fail=138 test ! -f xae || fail=140 split -n 2 abc || fail=141 compare exp-ab xaa || fail=1[all …]
26 split -a 0 in 2> /dev/null || fail=127 returns_ 1 split -b 0 in 2> /dev/null || fail=128 returns_ 1 split -C 0 in 2> /dev/null || fail=129 returns_ 1 split -l 0 in 2> /dev/null || fail=130 returns_ 1 split -n 0 in 2> /dev/null || fail=131 returns_ 1 split -n 1/0 in 2> /dev/null || fail=132 returns_ 1 split -n 0/1 in 2> /dev/null || fail=133 returns_ 1 split -n 2/1 in 2> /dev/null || fail=136 rm -f x?? || fail=137 echo x | split -C 1 || fail=1[all …]
24 split -n r/10 /dev/null || fail=125 test "$(stat -c %s x* | uniq -c | sed 's/^ *//; s/ /x/')" = "10x0" || fail=129 split -e -n r/10 /dev/null || fail=130 stat x?? 2>/dev/null && fail=134 split -n r/3 in > out || fail=135 compare /dev/null out || fail=137 split -n r/1/3 in > r1 || fail=138 split -n r/2/3 in > r2 || fail=139 split -n r/3/3 in > r3 || fail=145 compare exp-1 xaa || fail=1[all …]
25 shuf in >out || fail=130 compare in out > /dev/null && { fail=1; echo "not random?" 1>&2; }34 compare in out1 || { fail=1; echo "not a permutation" 1>&2; }37 shuf -i 1-100 > out || fail=138 compare in out > /dev/null && { fail=1; echo "not random?" 1>&2; }40 compare in out1 || { fail=1; echo "not a permutation" 1>&2; }43 shuf -r -n 0 in <&- >out || fail=144 compare /dev/null out || fail=148 test "$t" = 'a b c d e' || { fail=1; echo "not a permutation" 1>&2; }52 test $? -eq 1 || fail=1[all …]
37 chroot --userspec=$NON_ROOT_UID: / true || fail=141 returns_ $EXIT_CANCELED chroot --groups="$g" / id -G >invalid || fail=142 compare /dev/null invalid || fail=146 test $(chroot / whoami) = "$root" || fail=147 test "$(groups)" = "$(chroot / groups)" || fail=153 test "$whoami_after_chroot" != "$root" || fail=158 "$NON_ROOT_GID $(id -G)" || fail=161 Exit $fail73 test "$id_G_after_chroot" = $NON_ROOT_GID || fail=177 "$(id -G $NON_ROOT_USERNAME | num_sort)" || fail=1[all …]
29 chgrp $g1 f || fail=130 chgrp $g2 f || fail=131 chgrp $g2 f2 || fail=132 chgrp -R $g1 d || fail=136 chgrp $g1 f || fail=1 ; test $(stat --p=%g f) = $g1 || fail=137 chgrp $g2 f || fail=1 ; test $(stat --p=%g f) = $g2 || fail=138 chgrp $g2 f || fail=1 ; test $(stat --p=%g f) = $g2 || fail=139 chgrp '' f || fail=1 ; test $(stat --p=%g f) = $g2 || fail=140 chgrp $g1 f || fail=1 ; test $(stat --p=%g f) = $g1 || fail=141 chgrp $g1 f || fail=1 ; test $(stat --p=%g f) = $g1 || fail=1[all …]
32 test "$(stat -c %X k)" = 67413 || fail=133 test "$(stat -c %.X k)" = 67413.023456789 || fail=134 test "$(stat -c %.1X k)" = 67413.0 || fail=135 test "$(stat -c %.3X k)" = 67413.023 || fail=136 test "$(stat -c %.6X k)" = 67413.023456 || fail=137 test "$(stat -c %.9X k)" = 67413.023456789 || fail=138 test "$(stat -c %13.6X k)" = ' 67413.023456' || fail=139 test "$(stat -c %013.6X k)" = 067413.023456 || fail=140 test "$(stat -c %-13.6X k)" = '67413.023456 ' || fail=141 test "$(stat -c %18.10X k)" = ' 67413.0234567890' || fail=1[all …]
31 returns_ 1 cp a/f b/f c 2> /dev/null || fail=132 test -f a/f || fail=133 test -f b/f || fail=134 test -f c/f || fail=135 test "$(cat c/f)" = a || fail=139 cp --backup=numbered a/f b/f c || fail=140 test -f a/f || fail=141 test -f b/f || fail=142 test -f c/f || fail=143 test -f c/f.~1~ || fail=1[all …]
25 seq 999999 inf | head -n2 > out || fail=127 compare exp out || fail=134 seq $n1 $n2 > out || fail=136 compare exp out || fail=139 seq 0xF423F 0xF4240 > out || fail=141 compare exp out || fail=144 seq 1 .1 inf | head -n2 > out || fail=146 compare exp out || fail=149 seq inf inf | head -n2 | uniq > out || fail=150 test "$(wc -l < out)" = 1 || fail=1[all …]
32 returns_ 1 touch no-file/ || fail=133 returns_ 1 touch file/ || fail=134 returns_ 1 touch dangling/ || fail=135 returns_ 1 touch loop/ || fail=137 returns_ 1 touch link1/ || fail=139 touch dir/ || fail=142 touch -c no-file/ || fail=143 returns_ 1 touch -c file/ || fail=144 touch -c dangling/ || fail=145 returns_ 1 touch -c loop/ || fail=1[all …]
34 rm -I file1-* < in-n >> out 2>> err || fail=136 test -f file1-1 && fail=147 rm ---presume-input-tty -I file1-* < in-n >> out 2>> err || fail=150 test -f file1-1 || fail=157 rm -I file2-* < in-n >> out 2>> err || fail=159 test -f file2-1 && fail=160 test -f file2-2 && fail=161 test -f file2-3 && fail=164 rm -I file3-* < in-n >> out 2>> err || fail=166 test -f file3-1 || fail=1[all …]