Rewrote most of run-test, and gave variables clearer names
This commit is contained in:
+2
-2
@@ -2,11 +2,11 @@
|
||||
#
|
||||
# Check that the update interval can be set.
|
||||
|
||||
sleep 1 | $PROG -f -i 0.1 >/dev/null 2>$TMP1
|
||||
sleep 1 | "${testSubject}" -f -i 0.1 >/dev/null 2>"${workFile1}"
|
||||
|
||||
# There should be more than 6 lines of output.
|
||||
#
|
||||
NUM=$(tr '\r' '\n' < $TMP1 | wc -l | tr -d ' ')
|
||||
NUM=$(tr '\r' '\n' < "${workFile1}" | wc -l | tr -d ' ')
|
||||
test $NUM -gt 6
|
||||
|
||||
# EOF
|
||||
|
||||
Reference in New Issue
Block a user