1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/script
Michael Adam 062289f0f8 script: fix display of ten slowest tests if < 10 tests are run.
Note: $#array is the biggest index in an array in perl.
@array evaluated in scalar context is the number of elements.
Hence scalar(@array) = 1 + $#array

Or equivalently: 0 + @array = 1 + $#array

... :-)

Apart from this off-by-one error, the "unless" clause to trigger
the capping of the number of tests listed was wrong. Hence if
less then 10 tests were run, a number of blank lines were appended.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-10-30 20:25:04 +01:00
..
autobuild.py autobuild: check whether ctdbd has been installed in the samba-ctdb target 2014-10-28 08:05:40 +01:00
bisect-test.py script: the --tests option has been replaced by --test-command 2010-10-15 09:32:03 +00:00
clean-source-tree.sh script/autobuild.py: check that the source tree has no uncommitted changes after make 2010-12-31 04:03:28 +01:00
commit_mark.sh script/commit_mark.sh: add the current branch name 2012-06-07 01:18:55 +02:00
configure_check_unused.pl Move configure_check_unused script to root scriptdir, as it is useful 2010-04-07 22:53:39 +02:00
ctdb-import.msg-filter.sh script: add ctdb-import.* scripts 2013-11-13 14:12:51 +01:00
ctdb-import.tree-filter.sh script: add ctdb-import.* scripts 2013-11-13 14:12:51 +01:00
ctdb-import.txt script: add ctdb-import.* scripts 2013-11-13 14:12:51 +01:00
findstatic.pl Move findstatic.pl script to top-level. 2009-06-03 15:06:15 +02:00
generate_param.py param: change s3_param.h from a generated file to a static one 2014-02-20 10:11:20 +13:00
librelease.sh script: prepare librelease.sh for ntdb releases 2013-11-17 12:50:13 +01:00
random-sleep.sh random-sleep: add possiblity to override via environment variable 2013-11-13 14:53:45 +01:00
show_test_time show_test_time: Move to root scripting directory as it's useful for s3 2010-11-27 17:17:29 +01:00
show_testsuite_time script: fix display of ten slowest tests if < 10 tests are run. 2014-10-30 20:25:04 +01:00