File: cmd-sleep

package info (click to toggle)
remctl 3.18-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,612 kB
  • sloc: ansic: 19,504; sh: 5,386; perl: 1,778; java: 740; makefile: 715; xml: 502; python: 430
file content (10 lines) | stat: -rwxr-xr-x 219 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# Sleeps for three seconds and exits, used to test timeouts.  If given any
# arguments, echos them first so that we can test timeouts after initial
# output.

if [ $# -gt 1 ] ; then
    echo "$2"
fi
sleep 3