aboutsummaryrefslogtreecommitdiffstats
path: root/testing/do-tests.in
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-05-13 05:51:12 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-05-13 05:51:12 +0000
commit2e6342db52b9c26bc17d52314c8aa2faf2ec7272 (patch)
tree5163c1dc0e350bd1e360fe91dbb56c5cebb40210 /testing/do-tests.in
parentd6436bfbd9f1653158a6404a98ebce08b062e80e (diff)
downloadstrongswan-2e6342db52b9c26bc17d52314c8aa2faf2ec7272.tar.bz2
strongswan-2e6342db52b9c26bc17d52314c8aa2faf2ec7272.tar.xz
do-test always downloads ipsec.sql
Diffstat (limited to 'testing/do-tests.in')
-rwxr-xr-xtesting/do-tests.in10
1 files changed, 3 insertions, 7 deletions
diff --git a/testing/do-tests.in b/testing/do-tests.in
index f6ff19fca..0436dbe94 100755
--- a/testing/do-tests.in
+++ b/testing/do-tests.in
@@ -469,13 +469,8 @@ do
$TESTRESULTDIR/${host}.$file > /dev/null 2>&1
done
- if [ $SUBDIR = "sql" ]
- then
- scp $HOSTLOGIN:/etc/ipsec.d/ipsec.sql \
- $TESTRESULTDIR/${host}.ipsec.sql > /dev/null 2>&1
- else
- touch $TESTRESULTDIR/${host}.ipsec.sql
- fi
+ scp $HOSTLOGIN:/etc/ipsec.d/ipsec.sql \
+ $TESTRESULTDIR/${host}.ipsec.sql > /dev/null 2>&1
ssh $HOSTLOGIN ip xfrm policy \
> $TESTRESULTDIR/${host}.ip.policy 2>/dev/null
@@ -485,6 +480,7 @@ do
> $TESTRESULTDIR/${host}.ip.route 2>/dev/null
ssh $HOSTLOGIN $IPTABLES -v -n -L \
> $TESTRESULTDIR/${host}.iptables 2>/dev/null
+ chmod a+r $TESTRESULTDIR/*
cat >> $TESTRESULTDIR/index.html <<@EOF
<h3>$host</h3>
<table border="0" cellspacing="0" width="600">