pck-update: do not reinitialize the tests counter before executing a new test battery

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-05-19 10:58:33 +02:00
parent 476b8f1a62
commit 055aa310d9
2 changed files with 9 additions and 6 deletions

View File

@ -64,6 +64,9 @@ Changes in version 1.12.0
* tests/test01_pkgquality, ests/test02_pkgsecurity - Davide Madrisan:
Rework output by adding the numbering of tests.
* pck-update - Davide Madrisan:
Do not reinitialize the tests counter before executing a new test battery.
-------------------------------------------------------------------------------
Changes in version 1.10.0

View File

@ -2759,13 +2759,13 @@ can't create temporary directory"": $tmpextractdir/$i"
echo " $test_number" || echo " $test_number"
}
local test_number=1
( local test_number=1
for fname in $testdir/*; do
notify.debug "$FUNCNAME: running test: \`$fname'"
( . $fname
. $fname
alltests --infofile "$tmpextractdir/rpmpkg.info" \
--tmpdir "$tmpextractdir" )
done
--tmpdir "$tmpextractdir"
done )
# temporary files cleanup
rm -fr $tmpextractdir