Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 72) sorted by relevance

123

/coreutils/tests/timeout/
Dtimeout.sh20 print_ver_ timeout
24 timeout 10 true || fail=1
27 timeout 1d true || fail=1
30 timeout 0 true || fail=1
33 returns_ 2 timeout 10 sh -c 'exit 2' || fail=1
36 returns_ 124 timeout .1 sleep 10 || fail=1
40 returns_ 124 timeout --preserve-status .1 sleep 10 && fail=1
46 returns_ 124 timeout -s0 -k1 .1 sleep 10 && fail=1
48 returns_ 124 timeout --foreground -s0 -k1 .1 sleep 10 && fail=1
55 exec timeout 10 true
[all …]
Dtimeout-parameters.sh20 print_ver_ timeout env
27 returns_ 125 timeout invalid sleep 0 || fail=1
30 returns_ 125 timeout --kill-after=invalid 1 sleep 0 || fail=1
33 returns_ 125 timeout 42D sleep 0 || fail=1
36 timeout 10.34 sleep 0 || fail=1
39 timeout 9.999999999 sleep 0 || fail=1
42 returns_ 125 timeout --signal=invalid 1 sleep 0 || fail=1
45 returns_ 126 env . && { returns_ 126 timeout 10 . || fail=1; }
48 returns_ 127 timeout 10 no_such || fail=1
Dtimeout-group.sh20 print_ver_ timeout
35 printf '%s\n' '#!'"$SHELL" > timeout.cmd || framework_failure_
36 cat >> timeout.cmd <<\EOF
38 touch timeout.running
45 chmod a+x timeout.cmd
50 timeout --foreground 25 ./timeout.cmd 20&
58 test -e timeout.running ||
75 rm -f int.received timeout.running
88 timeout -sALRM 30 timeout -sINT 25 ./timeout.cmd 20 & pid=$!
Dtimeout-large-parameters.sh21 print_ver_ timeout
28 timeout $TIME_T_OFLOW sleep 3
34 timeout $UINT_OFLOW sleep 0 || fail=1
37 timeout ${TIME_T_OFLOW}d sleep 0 || fail=1
40 timeout 2.34e+5d sleep 0 || fail=1
43 timeout $LDBL_MAX sleep 0 || fail=1
44 returns_ 125 timeout -- -$LDBL_MAX sleep 0 || fail=1
/coreutils/tests/misc/
Dsleep.sh24 returns_ 1 timeout 10 sleep invalid || fail=1
25 returns_ 1 timeout 10 sleep -- -1 || fail=1
26 returns_ 1 timeout 10 sleep 42D || fail=1
27 returns_ 1 timeout 10 sleep 42d 42day || fail=1
28 returns_ 1 timeout 10 sleep nan || fail=1
29 returns_ 1 timeout 10 sleep '' || fail=1
30 returns_ 1 timeout 10 sleep || fail=1
33 timeout 10 sleep 0.001 || fail=1
34 timeout 10 sleep 0x.002p1 || fail=1
38 returns_ 124 timeout 0.1 sleep 1d 2h 3m 4s || fail=1
[all …]
Dtee.sh44 yes | returns_ 1 timeout 10 tee /dev/full 2>err >/dev/full || fail=1
76 { timeout 10 tee -p 2>err && touch tee.exited; } | :
94 { sleep .1; timeout 10 dd of=/dev/null status=none; } <fifo
105 read_fifo() { timeout 10 dd count=1 if=fifo of=/dev/null status=none & }
114 yes | returns_ $pipe_status timeout 10 tee ./e/noent 2>err >fifo || fail=1
119 yes | timeout 10 tee -p 2>err >fifo || fail=1
124 yes | returns_ 1 timeout 10 tee --output-error=warn 2>err >fifo || fail=1
129 yes | returns_ 1 timeout 10 tee --output-error=exit /dev/null 2>err >fifo \
135 yes | returns_ 1 timeout 10 tee --output-error=exit ./e/noent 2>err >fifo \
141 yes | timeout 10 tee --output-error=exit-nopipe 2>err >fifo || fail=1
Dwrite-errors.sh20 print_ver_ timeout
61 timeout 10 $SHELL -c "$writer > /dev/full"
/coreutils/tests/tail/
Dpid.sh34 returns_ 124 timeout 1 tail -f -s.1 --pid=$pid $mode here || fail=1
37 returns_ 124 timeout 1 tail -f -s.1 --pid=$PID_T_MAX --pid=$pid $mode here \
44 timeout 10 tail -f -s.1 --pid=$PID_T_MAX $mode empty
50 returns_ 124 timeout 10 tail -f -s10 --pid=$PID_T_MAX $mode empty && fail=1
Dwait.sh38 returns_ 124 timeout 10 tail $fastpoll -f $mode not_here && fail=1
41 returns_ 124 timeout 10 tail $fastpoll -f $mode unreadable && fail=1
44 returns_ 124 timeout .1 tail $fastpoll -f $mode here 2>tail.err || fail=1
48 returns_ 124 timeout .1 tail $fastpoll -F $mode here 2>>tail.err || fail=1
51 returns_ 124 timeout .1 tail $fastpoll -F $mode unreadable || fail=1
54 returns_ 124 timeout .1 tail $fastpoll -F $mode not_here || fail=1
Dpipe-f.sh29 echo foo | timeout 10 tail -f $mode $fastpoll -c3 > out || fail=1
36 timeout 10 tail -f $mode $fastpoll -c3 - missing > out || fail=1
49 returns_ 124 timeout 10 \
63 (returns_ 1 timeout 10 tail -f $mode $fastpoll /dev/null >&-) || fail=1
Dend-of-device.sh43 timeout 10 tail -c 1024 "$device" > end1 || fail=1
44 timeout 10 tail -c +"$tail_offset" "$device" > end2 || fail=1
Dfollow-stdin.sh59 returns_ 1 timeout 10 tail -f - <&- 2>errt || fail=1
74 returns_ 124 timeout 0.1 tail -f $input 2>err || fail=1
/coreutils/tests/env/
Denv-signal-handler.sh20 print_ver_ env seq test timeout printf
90 env timeout --verbose --kill-after=.1 --signal=INT $delay \
103 timeout: sending signal INT to command 'env'
112 timeout: sending signal INT to command 'env'
113 timeout: sending signal KILL to command 'env'
/coreutils/tests/cp/
Dsparse-perf.sh23 timeout 10 truncate -s1T f ||
34 timeout 10 cp --reflink=never f f2 || fail=1
Dsparse-to-pipe.sh28 timeout 10 cat pipe > copy & pid=$!
31 timeout 10 cp sparse pipe || fail=1
Dparent-perm-race.sh39 timeout 10 cp --preserve=$attr -R --copy-contents --parents $attr d & pid=$!
44 timeout 10 sh -c "ls -ld d/$attr >$attr/fifo" || fail=1
/coreutils/tests/dd/
Dno-allocate.sh24 vm=$(get_min_ulimit_v_ timeout 10 dd if=f of=f2 status=none) \
43 timeout 10 dd count=1 if=/dev/zero of=tape&
47 && timeout 10 dd $dd_buf=30M $dd_op=1 count=0 $dd_file=tape)
Dskip-seek-past-dev.sh44 timeout 10 dd bs=1 skip=$DEV_OFLOW count=0 status=noxfer < "$device" 2> err
51 timeout 10 dd bs=1 seek=$DEV_OFLOW count=0 status=noxfer > "$device" 2> err
/coreutils/tests/sort/
Dsort-NaN-infloop.sh24 timeout 10 sort -g -m F F > out || fail=1
27 yes nan | head -n128095 | timeout 60 sort -g > /dev/null || fail=1
Dsort-exit-early.sh28 returns_ $SORT_FAILURE timeout 10 sort -o input || fail=1
34 returns_ $SORT_FAILURE timeout 10 sort -o typo - output || fail=1
/coreutils/tests/tac/
Dtac-2-nonseekable.sh41 returns_ 124 timeout 10 tac - - <&- 2>err && skip_ 'error closing stdin'
43 returns_ 1 timeout 10 tac - - <&- 2>err || fail=1
/coreutils/tests/head/
Dhead-write-error.sh39 yes | returns_ 1 timeout 10s head --$item=-$N > /dev/full 2> errt || fail=1
44 returns_ 1 timeout 10s head --$item=-$N bigseek > /dev/full 2> errt \
/coreutils/tests/wc/
Dwc-proc.sh60 if timeout 10 truncate -s1T do_read; then
61 timeout 10 wc -c do_read || fail=1
/coreutils/tests/split/
Dfilter.sh66 timeout 10 split --filter='head -c1 >$FILE.n' -n $mode$N $in_file || fail=1
76 returns_ 124 timeout .5 sh -c \
/coreutils/tests/uniq/
Duniq-perf.sh23 timeout 10 uniq -f 10000000000 in || fail=1

123