diff options
Diffstat (limited to 'testing/do-tests')
-rwxr-xr-x | testing/do-tests | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/do-tests b/testing/do-tests index fafbe6e89..d70c12c51 100755 --- a/testing/do-tests +++ b/testing/do-tests @@ -17,6 +17,7 @@ DIR=$(dirname `readlink -f $0`) . $DIR/testing.conf . $DIR/scripts/function.sh +SSHCONF="-F $DIR/ssh_config" [ -d $DIR/hosts ] || die "Directory 'hosts' not found" [ -d $DIR/tests ] || die "Directory 'tests' not found" @@ -643,7 +644,7 @@ do for host in $IPSECHOSTS do eval HOSTLOGIN=root@\$ipv4_${host} - ssh $SSHCONF $HOSTLOGIN "grep -E 'charon|last message repeated' \ + ssh $SSHCONF $HOSTLOGIN "grep -E 'charon|last message repeated|imcv' \ /var/log/auth.log" >> $TESTRESULTDIR/${host}.auth.log done @@ -655,7 +656,7 @@ do for host in $IPSECHOSTS do eval HOSTLOGIN=root@\$ipv4_${host} - ssh $SSHCONF $HOSTLOGIN "grep -E 'charon|last message repeated' \ + ssh $SSHCONF $HOSTLOGIN "grep -E 'charon|last message repeated|imcv' \ /var/log/daemon.log" >> $TESTRESULTDIR/${host}.daemon.log done |