3189. [test] Added a summary report after system tests. [RT #25517]

This commit is contained in:
Evan Hunt
2011-11-01 18:34:11 +00:00
parent 70a9f173bb
commit d3c395f4db
4 changed files with 19 additions and 10 deletions
+2
View File
@@ -1,3 +1,5 @@
3189. [test] Added a summary report after system tests. [RT #25517]
3188. [bug] zone.c:zone_refreshkeys() could fail to detach
references correctly when errors occurred, causing
a hang on shutdown. [RT #26372]
+1
View File
@@ -1,2 +1,3 @@
Makefile
conf.sh
systests.output
+2 -1
View File
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.31.268.2 2010/06/23 23:46:35 tbox Exp $
# $Id: Makefile.in,v 1.31.268.3 2011/11/01 18:34:11 each Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -36,6 +36,7 @@ test: subdirs
testclean clean distclean::
if test -f ./cleanall.sh; then sh ./cleanall.sh; fi
rm -f systests.output
distclean::
rm -f conf.sh
+14 -9
View File
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: runall.sh,v 1.8.558.2 2010/03/04 23:49:19 tbox Exp $
# $Id: runall.sh,v 1.8.558.3 2011/11/01 18:34:11 each Exp $
#
# Run all the system tests.
@@ -26,13 +26,14 @@ SYSTEMTESTTOP=.
status=0
for d in $SUBDIRS
do
sh run.sh $d || status=1
done
{
for d in $SUBDIRS
do
sh run.sh $d || status=1
done
$PERL testsock.pl || {
cat <<EOF >&2
$PERL testsock.pl || {
cat <<EOF >&2
I:
I:NOTE: Many of the tests were skipped because they require that
I: the IP addresses 10.53.0.1 through 10.53.0.7 are configured
@@ -40,7 +41,11 @@ I: as alias addresses on the loopback interface. Please run
I: "bin/tests/system/ifconfig.sh up" as root to configure them
I: and rerun the tests.
EOF
exit 0;
}
exit 0;
}
} | tee "systests.output"
echo "I:System test result summary:"
grep '^R:' systests.output | sort | uniq -c | sed -e 's/^/I: /' -e 's/R://'
exit $status