Lines Matching +full:- +full:36000
1 # SPDX-License-Identifier: BSD-2-Clause
35 tail -r infile > outfile
36 tail -r < infile > outpipe
58 tail -r infile > outfile
59 tail -r < infile > outpipe
80 tail -rn2 infile > outfile
81 tail -rn2 < infile > outpipe
101 printf '\n1\n2\n3\n' | tail -r > outfile
102 printf '\n1\n2\n3\n' | tail -r > outpipe
123 tail -rc28 infile > outfile
124 tail -rc28 < infile > outpipe
145 tail -rc28 infile > outfile
146 tail -rc28 < infile > outpipe
158 jot -w "%0511d" 1030 0 > infile
159 jot -w "%0511d" 1030 1029 0 -1 > expectfile
160 tail -r infile > outfile
161 tail -r < infile > outpipe
177 ulimit -v 32768 || atf_skip "Can't adjust ulimit"
178 jot -w "%01023d" 32768 0 | tail -r > outfile ;
180 if [ "$?" -ne 1 ]; then
186 jot -w "%01023d" 10 32767 0 -1 > expectfile
187 head -n 10 outfile > outtrunc
199 jot -s " " -w "%07d" 18000 0 > infile
200 jot -s " " -w "%07d" 18000 18000 >> infile
201 jot -s " " -w "%07d" 18000 36000 >> infile
202 jot -s " " -w "%07d" 18000 36000 > expectfile
203 jot -s " " -w "%07d" 18000 18000 >> expectfile
204 jot -s " " -w "%07d" 18000 0 >> expectfile
205 tail -r infile > outfile
206 tail -r < infile > outpipe
218 jot -w "%063d" 9000 0 > infile
219 jot -w "%063d" 2121 8999 0 -1 > expectfile
221 tail -rc135782 infile > outfile
222 tail -rc135782 < infile > outpipe
234 jot -s " " -w "%07d" 18000 0 > infile
235 jot -s " " -w "%07d" 18000 18000 >> infile
236 jot -s " " -w "%07d" 18000 36000 >> infile
237 jot -s " " -w "%07d" 18000 36000 > expectfile
238 echo -n "35777 " >> expectfile
239 jot -s " " -w "%07d" 222 35778 >> expectfile
240 tail -rc145782 infile > outfile
241 tail -rc145782 < infile > outpipe
253 jot -w "%063d" 9000 0 > infile
254 jot -w "%063d" 2500 8999 0 -1 > expectfile
255 tail -rn2500 infile > outfile
256 tail -rn2500 < infile > outpipe
268 atf_check -o save:ints seq -f '%128g' 1 1000
269 atf_check -s ignore \
270 -e "inline:tail: stdout\nexit code: 1\n" \
271 -x '(tail -n 856 ints; echo exit code: $? >&2) | sleep 2'
286 tail -r < infile > outfile_r
295 atf_set "descr" "Basic regression test for -f"
303 tail -f infile > outfile &
315 atf_set "descr" "Verify that -f works with files piped to standard input"
323 tail -f < infile > outfile &
335 atf_set "descr" "Verify that -F works when a file is created"
341 rm -f infile
342 tail -F infile > outfile &
353 atf_set "descr" "Verify that -F works when a file is replaced"
361 tail -F infile > outfile &
366 # tail -F polls for a new file every 1s.
381 tail -q file1 file2 > outfile
393 tail -v file1 > outfile
402 jot -b aaaaaaa 129 > file1
403 jot -b aaaaaaa 128 > expectfile
404 tail -c 1k file1 > outfile
408 tail -n 1k file1 > outfile
420 atf_check -o inline:"c" tail -1 infile
421 atf_check -o inline:"b\nc" tail -2 infile
422 atf_check -o inline:"a\nb\nc" tail -3 infile
423 atf_check -o inline:"a\nb\nc" tail -4 infile