Test collect.sh. Use --run-time instead of --interval for collect loop. Fix and require per-test test names in util/test-bash-functions. Fix OPT_ERR in parse_options.sh.

This commit is contained in:
Daniel Nichter
2011-12-06 13:23:47 -07:00
parent c804079c0d
commit f6306c9ec0
7 changed files with 182 additions and 70 deletions

View File

@@ -160,7 +160,7 @@ collect() {
# This loop gathers data for the rest of the duration, and defines the time
# of the whole job.
echo "Loop start: $(date +'TS %s.%N %F %T')"
for a in $(_seq $OPT_INTERVAL); do
for a in $(_seq $OPT_RUN_TIME); do
# We check the disk, but don't exit, because we need to stop jobs if we
# need to exit.
disk_space $d > $d/$p-disk-space