aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-10-27 17:54:06 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-10-27 17:54:06 +0000
commitade9743ec4df39ace22e622558c6f1c2f8560967 (patch)
treea73a948dd96d6ee5cb964dbbff322757ec9d6ad2 /testing
parentebdddb74d4b7b3fe6b594358addc6d407cdd320a (diff)
downloadstrongswan-ade9743ec4df39ace22e622558c6f1c2f8560967.tar.bz2
strongswan-ade9743ec4df39ace22e622558c6f1c2f8560967.tar.xz
fixed due to new logging concept
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/scripts/load-testconfig4
-rw-r--r--testing/tests/ikev2/crl-revoked/evaltest.dat6
-rw-r--r--testing/tests/ikev2/dpd-clear/evaltest.dat9
-rw-r--r--testing/tests/ikev2/dpd-clear/pretest.dat1
-rw-r--r--testing/tests/ikev2/dpd-restart/evaltest.dat9
-rw-r--r--testing/tests/ikev2/dpd-restart/pretest.dat1
-rw-r--r--testing/tests/ikev2/net2net-cert/pretest.dat1
-rw-r--r--testing/tests/ikev2/net2net-route/evaltest.dat2
-rw-r--r--testing/tests/ikev2/protoport-route/evaltest.dat2
-rw-r--r--testing/tests/ikev2/rw-cert/pretest.dat1
-rw-r--r--testing/tests/ikev2/rw-psk-rsa-mixed/evaltest.dat8
-rw-r--r--testing/tests/ikev2/rw-psk-rsa-mixed/pretest.dat1
-rw-r--r--testing/tests/ikev2/rw-psk-rsa-split/evaltest.dat6
-rw-r--r--testing/tests/ikev2/rw-psk-rsa-split/pretest.dat1
14 files changed, 22 insertions, 30 deletions
diff --git a/testing/scripts/load-testconfig b/testing/scripts/load-testconfig
index 0363f4ec1..6558018c2 100755
--- a/testing/scripts/load-testconfig
+++ b/testing/scripts/load-testconfig
@@ -53,12 +53,12 @@ fi
##########################################################################
-# clear the auth.log where IKE messages are logged
+# clear auth.log and daemon.log where IKE messages are logged
#
for host in $IPSECHOSTS
do
eval HOSTLOGIN="root@`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
- ssh $HOSTLOGIN 'rm -f /var/log/auth.log; \
+ ssh $HOSTLOGIN 'rm -f /var/log/auth.log /var/log/daemon.log; \
kill -SIGHUP `cat /var/run/syslogd.pid`' > /dev/null 2>&1
done
diff --git a/testing/tests/ikev2/crl-revoked/evaltest.dat b/testing/tests/ikev2/crl-revoked/evaltest.dat
index a5344abd9..3d6cf72bb 100644
--- a/testing/tests/ikev2/crl-revoked/evaltest.dat
+++ b/testing/tests/ikev2/crl-revoked/evaltest.dat
@@ -1,6 +1,6 @@
-moon::cat /var/log/auth.log::certificate was revoked::YES
-moon::cat /var/log/auth.log::end entity certificate is not trusted::YES
-carol::cat /var/log/auth.log::AUTHENTICATION_FAILED::YES
+moon::cat /var/log/daemon.log::certificate was revoked::YES
+moon::cat /var/log/daemon.log::end entity certificate is not trusted::YES
+carol::cat /var/log/daemon.log::AUTHENTICATION_FAILED::YES
moon::ipsec listcrls:: ok::YES
moon::ipsec status::rw.*ESTABLISHED::NO
carol::ipsec status::home.*ESTABLISHED::NO
diff --git a/testing/tests/ikev2/dpd-clear/evaltest.dat b/testing/tests/ikev2/dpd-clear/evaltest.dat
index f93da1030..146cf6c33 100644
--- a/testing/tests/ikev2/dpd-clear/evaltest.dat
+++ b/testing/tests/ikev2/dpd-clear/evaltest.dat
@@ -1,8 +1,7 @@
carol::ipsec statusall::home.*INSTALLED::YES
carol::iptables -A INPUT -i eth0 -s PH_IP_MOON -j DROP::no output expected::NO
moon::sleep 100::no output expected::NO
-moon::cat /var/log/auth.log::sending DPD request::YES
-moon::cat /var/log/auth.log::sending retransmit::YES
-moon::cat /var/log/auth.log::giving up after 4 retransmits, deleting IKE_SA::YES
-moon::cat /var/log/auth.log::dpd action for rw is DPD_CLEAR::YES
-moon::cat /var/log/auth.log::IKE_SA deleted::YES
+moon::cat /var/log/daemon.log::sending DPD request::YES
+moon::cat /var/log/daemon.log::sending retransmit::YES
+moon::cat /var/log/daemon.log::giving up after 4 retransmits, deleting IKE_SA::YES
+moon::cat /var/log/daemon.log::dpd action for rw is DPD_CLEAR::YES
diff --git a/testing/tests/ikev2/dpd-clear/pretest.dat b/testing/tests/ikev2/dpd-clear/pretest.dat
index 501f85c1d..14ed95322 100644
--- a/testing/tests/ikev2/dpd-clear/pretest.dat
+++ b/testing/tests/ikev2/dpd-clear/pretest.dat
@@ -2,4 +2,3 @@ moon::ipsec start
carol::ipsec start
carol::sleep 2
carol::ipsec up home
-carol::sleep 2
diff --git a/testing/tests/ikev2/dpd-restart/evaltest.dat b/testing/tests/ikev2/dpd-restart/evaltest.dat
index 0b72bafa0..635c79fb6 100644
--- a/testing/tests/ikev2/dpd-restart/evaltest.dat
+++ b/testing/tests/ikev2/dpd-restart/evaltest.dat
@@ -3,11 +3,10 @@ moon::ipsec statusall::rw.*INSTALLED::YES
moon::iptables -A INPUT -i eth0 -s PH_IP_CAROL -j DROP::no output expected::NO
carol::iptables -A INPUT -i eth0 -s PH_IP_MOON -j DROP::no output expected::NO
carol::sleep 100::no output expected::NO
-carol::cat /var/log/auth.log::sending DPD request::YES
-carol::cat /var/log/auth.log::sending retransmit.*for INFORMATIONAL request::YES
-carol::cat /var/log/auth.log::giving up after 4 retransmits, deleting IKE_SA::YES
-carol::cat /var/log/auth.log::dpd action for home is DPD_RESTART::YES
-carol::cat /var/log/auth.log::IKE_SA deleted::YES
+carol::cat /var/log/daemon.log::sending DPD request::YES
+carol::cat /var/log/daemon.log::sending retransmit.*for INFORMATIONAL request::YES
+carol::cat /var/log/daemon.log::giving up after 4 retransmits, deleting IKE_SA::YES
+carol::cat /var/log/daemon.log::dpd action for home is DPD_RESTART::YES
carol::iptables -D INPUT -i eth0 -s PH_IP_MOON -j DROP::no output expected::NO
moon::iptables -D INPUT -i eth0 -s PH_IP_CAROL -j DROP::no output expected::NO
carol::sleep 10::no output expected::NO
diff --git a/testing/tests/ikev2/dpd-restart/pretest.dat b/testing/tests/ikev2/dpd-restart/pretest.dat
index 501f85c1d..14ed95322 100644
--- a/testing/tests/ikev2/dpd-restart/pretest.dat
+++ b/testing/tests/ikev2/dpd-restart/pretest.dat
@@ -2,4 +2,3 @@ moon::ipsec start
carol::ipsec start
carol::sleep 2
carol::ipsec up home
-carol::sleep 2
diff --git a/testing/tests/ikev2/net2net-cert/pretest.dat b/testing/tests/ikev2/net2net-cert/pretest.dat
index 0cd81d154..d19d92093 100644
--- a/testing/tests/ikev2/net2net-cert/pretest.dat
+++ b/testing/tests/ikev2/net2net-cert/pretest.dat
@@ -6,4 +6,3 @@ moon::ipsec start
sun::ipsec start
moon::sleep 1
moon::ipsec up net-net
-moon::sleep 1
diff --git a/testing/tests/ikev2/net2net-route/evaltest.dat b/testing/tests/ikev2/net2net-route/evaltest.dat
index a7a7e01d8..d93446253 100644
--- a/testing/tests/ikev2/net2net-route/evaltest.dat
+++ b/testing/tests/ikev2/net2net-route/evaltest.dat
@@ -1,4 +1,4 @@
-moon::cat /var/log/auth.log::acquiring CHILD_SA.*IKE_SA setup needed::YES
+moon::cat /var/log/daemon.log::acquiring CHILD_SA.*IKE_SA setup needed::YES
moon::ipsec statusall::net-net.*INSTALLED::YES
sun::ipsec statusall::net-net.*INSTALLED::YES
alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_seq=1::YES
diff --git a/testing/tests/ikev2/protoport-route/evaltest.dat b/testing/tests/ikev2/protoport-route/evaltest.dat
index 389625c47..e7a99d0d9 100644
--- a/testing/tests/ikev2/protoport-route/evaltest.dat
+++ b/testing/tests/ikev2/protoport-route/evaltest.dat
@@ -1,7 +1,7 @@
carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq::YES
carol::ping -c 1 PH_IP_MOON1::64 bytes from PH_IP_MOON1: icmp_seq::YES
carol::ssh PH_IP_ALICE hostname::alice::YES
-carol::cat /var/log/auth.log::acquiring CHILD_SA::YES
+carol::cat /var/log/daemon.log::acquiring CHILD_SA::YES
carol::ipsec statusall::home-icmp.*INSTALLED::YES
carol::ipsec statusall::home-ssh.*INSTALLED::YES
moon::ipsec statusall::rw-icmp.*INSTALLED::YES
diff --git a/testing/tests/ikev2/rw-cert/pretest.dat b/testing/tests/ikev2/rw-cert/pretest.dat
index d917ec4f8..b3b89ab09 100644
--- a/testing/tests/ikev2/rw-cert/pretest.dat
+++ b/testing/tests/ikev2/rw-cert/pretest.dat
@@ -10,4 +10,3 @@ dave::ipsec start
carol::sleep 1
carol::ipsec up home
dave::ipsec up home
-carol::sleep 1
diff --git a/testing/tests/ikev2/rw-psk-rsa-mixed/evaltest.dat b/testing/tests/ikev2/rw-psk-rsa-mixed/evaltest.dat
index 2ecbb6e94..56a7a896c 100644
--- a/testing/tests/ikev2/rw-psk-rsa-mixed/evaltest.dat
+++ b/testing/tests/ikev2/rw-psk-rsa-mixed/evaltest.dat
@@ -1,9 +1,9 @@
-moon::cat /var/log/auth.log::authentication of 'carol@strongswan.org' with pre-shared key successful::YES
-moon::cat /var/log/auth.log::authentication of 'PH_IP_MOON' with pre-shared key (myself)::YES
+moon::cat /var/log/daemon.log::authentication of 'carol@strongswan.org' with pre-shared key successful::YES
+moon::cat /var/log/daemon.log::authentication of 'PH_IP_MOON' with pre-shared key (myself)::YES
moon::ipsec statusall::rw-psk.*INSTALLED::YES
carol::ipsec statusall::home.*ESTABLISHED::YES
-moon::cat /var/log/auth.log::authentication of 'dave@strongswan.org' with RSA signature successful::YES
-moon::cat /var/log/auth.log::authentication of '@moon.strongswan.org' with RSA signature (myself)::YES
+moon::cat /var/log/daemon.log::authentication of 'dave@strongswan.org' with RSA signature successful::YES
+moon::cat /var/log/daemon.log::authentication of '@moon.strongswan.org' with RSA signature (myself)::YES
moon::ipsec statusall::rw-rsasig.*INSTALLED::YES
dave::ipsec statusall::home.*ESTABLISHED::YES
carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES
diff --git a/testing/tests/ikev2/rw-psk-rsa-mixed/pretest.dat b/testing/tests/ikev2/rw-psk-rsa-mixed/pretest.dat
index d917ec4f8..b3b89ab09 100644
--- a/testing/tests/ikev2/rw-psk-rsa-mixed/pretest.dat
+++ b/testing/tests/ikev2/rw-psk-rsa-mixed/pretest.dat
@@ -10,4 +10,3 @@ dave::ipsec start
carol::sleep 1
carol::ipsec up home
dave::ipsec up home
-carol::sleep 1
diff --git a/testing/tests/ikev2/rw-psk-rsa-split/evaltest.dat b/testing/tests/ikev2/rw-psk-rsa-split/evaltest.dat
index 2b5bc8472..e4034174b 100644
--- a/testing/tests/ikev2/rw-psk-rsa-split/evaltest.dat
+++ b/testing/tests/ikev2/rw-psk-rsa-split/evaltest.dat
@@ -1,6 +1,6 @@
-moon::cat /var/log/auth.log::authentication of 'carol@strongswan.org' with pre-shared key successful::YES
-moon::cat /var/log/auth.log::authentication of 'dave@strongswan.org' with pre-shared key successful::YES
-moon::cat /var/log/auth.log::authentication of '@moon.strongswan.org' with RSA signature (myself)::YES
+moon::cat /var/log/daemon.log::authentication of 'carol@strongswan.org' with pre-shared key successful::YES
+moon::cat /var/log/daemon.log::authentication of 'dave@strongswan.org' with pre-shared key successful::YES
+moon::cat /var/log/daemon.log::authentication of '@moon.strongswan.org' with RSA signature (myself)::YES
moon::ipsec statusall::rw.*INSTALLED::YES
carol::ipsec statusall::home.*ESTABLISHED::YES
dave::ipsec statusall::home.*ESTABLISHED::YES
diff --git a/testing/tests/ikev2/rw-psk-rsa-split/pretest.dat b/testing/tests/ikev2/rw-psk-rsa-split/pretest.dat
index d917ec4f8..b3b89ab09 100644
--- a/testing/tests/ikev2/rw-psk-rsa-split/pretest.dat
+++ b/testing/tests/ikev2/rw-psk-rsa-split/pretest.dat
@@ -10,4 +10,3 @@ dave::ipsec start
carol::sleep 1
carol::ipsec up home
dave::ipsec up home
-carol::sleep 1