13 lines
223 B
Bash
13 lines
223 B
Bash
#!/bin/sh
|
|
#
|
|
# Check that the update interval can be set.
|
|
|
|
sleep 1 | $PROG -f -i 0.1 >/dev/null 2>$TMP1
|
|
|
|
# There should be more than 6 lines of output.
|
|
#
|
|
NUM=`tr '\r' '\n' < $TMP1 | wc -l | tr -d ' '`
|
|
test $NUM -gt 6
|
|
|
|
# EOF
|