aboutsummaryrefslogtreecommitdiffstats
path: root/testing/do-tests
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2015-12-01 22:26:03 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2015-12-11 18:26:54 +0100
commit6789d79d467805d1bc484caa75de880955371e1f (patch)
tree2b260c311c529d896f3633c5e8f2c94f964f99ae /testing/do-tests
parent6aa770312231401f91bd2049b311c81078c128c2 (diff)
downloadstrongswan-6789d79d467805d1bc484caa75de880955371e1f.tar.bz2
strongswan-6789d79d467805d1bc484caa75de880955371e1f.tar.xz
testing: Added swanctl --list-algs output
Diffstat (limited to 'testing/do-tests')
-rwxr-xr-xtesting/do-tests7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/do-tests b/testing/do-tests
index 5c3074126..310d7d008 100755
--- a/testing/do-tests
+++ b/testing/do-tests
@@ -531,7 +531,7 @@ do
scp $SSHCONF $HOSTLOGIN:/etc/swanctl/swanctl.conf \
$TESTRESULTDIR/${host}.swanctl.conf > /dev/null 2>&1
- for subsys in conns certs pools authorities sas pols
+ for subsys in conns algs certs pools authorities sas pols
do
ssh $SSHCONF $HOSTLOGIN swanctl --list-$subsys \
> $TESTRESULTDIR/${host}.swanctl.$subsys 2>/dev/null
@@ -539,6 +539,9 @@ do
ssh $SSHCONF $HOSTLOGIN swanctl --stats \
> $TESTRESULTDIR/${host}.swanctl.stats 2>/dev/null
+
+ cat $TESTRESULTDIR/${host}.swanctl.algs >> \
+ $TESTRESULTDIR/${host}.swanctl.stats
else
for file in ipsec.conf ipsec.secrets
do
@@ -586,7 +589,7 @@ do
<li><a href="$host.swanctl.sas">swanctl --list-sas</a></li>
<li><a href="$host.swanctl.pols">swanctl --list-pols</a></li>
<li><a href="$host.swanctl.authorities">swanctl --list-authorities</a></li>
- <li><a href="$host.swanctl.stats">swanctl --stats</a></li>
+ <li><a href="$host.swanctl.stats">swanctl --stats|--list-algs</a></li>
<li><a href="$host.daemon.log">daemon.log</a></li>
</ul>
</td>