aboutsummaryrefslogtreecommitdiffstats
path: root/testing/do-tests.in
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-05-04 16:59:34 +0200
committerTobias Brunner <tobias@strongswan.org>2011-05-05 10:29:52 +0200
commite296fc2d266f4461f78b9b0bf349d34289fb319b (patch)
treee4fdcf8df7a8840eba0760fb3c6dfbb55e013114 /testing/do-tests.in
parentca25eb9eb3302285e446b5ed157809f88a9ccdfd (diff)
downloadstrongswan-e296fc2d266f4461f78b9b0bf349d34289fb319b.tar.bz2
strongswan-e296fc2d266f4461f78b9b0bf349d34289fb319b.tar.xz
testing: Add crumbtrail to overview page which lists all tests.
Diffstat (limited to 'testing/do-tests.in')
-rwxr-xr-xtesting/do-tests.in30
1 files changed, 21 insertions, 9 deletions
diff --git a/testing/do-tests.in b/testing/do-tests.in
index d6ced2d86..eafce0f83 100755
--- a/testing/do-tests.in
+++ b/testing/do-tests.in
@@ -117,13 +117,7 @@ done
KERNEL_VERSION=`basename $KERNEL .tar.bz2`
IPSEC_VERSION=`basename $STRONGSWAN .tar.bz2`
-cat > $INDEX <<@EOF
-<html>
-<head>
- <title>strongSwan UML Tests</title>
-</head>
-<body>
- <h2>strongSwan UML Tests</h2>
+ENVIRONMENT_HEADER=$(cat <<@EOF
<table border="0" cellspacing="2">
<tr valign="top">
<td><b>Host:</b></td>
@@ -148,9 +142,27 @@ cat > $INDEX <<@EOF
<td >&nbsp;</td>
</tr>
@EOF
+)
+
+cat > $INDEX <<@EOF
+<html>
+<head>
+ <title>strongSwan UML Tests</title>
+</head>
+<body>
+ <h2>strongSwan UML Tests</h2>
+ $ENVIRONMENT_HEADER
+@EOF
-cat $INDEX > $TESTRESULTSHTML
-cat >> $TESTRESULTSHTML <<@EOF
+cat > $TESTRESULTSHTML <<@EOF
+<html>
+<head>
+ <title>strongSwan UML Tests - All Tests</title>
+</head>
+<body>
+ <div><a href="index.html">strongSwan UML Tests</a> / All Tests</div>
+ <h2>All Tests</h2>
+ $ENVIRONMENT_HEADER
<tr align="left">
<th>Number</th>
<th>Test</th>