From 6789d79d467805d1bc484caa75de880955371e1f Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 1 Dec 2015 22:26:03 +0100 Subject: testing: Added swanctl --list-algs output --- testing/do-tests | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testing/do-tests') 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
  • swanctl --list-sas
  • swanctl --list-pols
  • swanctl --list-authorities
  • -
  • swanctl --stats
  • +
  • swanctl --stats|--list-algs
  • daemon.log
  • -- cgit v1.2.3