testing: Added swanctl --list-algs output
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 1 Dec 2015 21:26:03 +0000 (22:26 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 11 Dec 2015 17:26:54 +0000 (18:26 +0100)
testing/do-tests

index 5c30741..310d7d0 100755 (executable)
@@ -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>