aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/pfkey/esp-alg-null
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-01-08 08:22:59 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 16:55:01 +0100
commit6fff9d9ace84e5aa6f8ea0738516f63d40c03dbd (patch)
tree6a7e1169a6090d5aff68af37195c5b530aa978bf /testing/tests/pfkey/esp-alg-null
parent8fbb9458d659274b82023d38da4ceb5198b514ac (diff)
downloadstrongswan-6fff9d9ace84e5aa6f8ea0738516f63d40c03dbd.tar.bz2
strongswan-6fff9d9ace84e5aa6f8ea0738516f63d40c03dbd.tar.xz
converted all pfkey iptables scenarios
Diffstat (limited to 'testing/tests/pfkey/esp-alg-null')
-rw-r--r--testing/tests/pfkey/esp-alg-null/posttest.dat4
-rw-r--r--testing/tests/pfkey/esp-alg-null/pretest.dat4
2 files changed, 4 insertions, 4 deletions
diff --git a/testing/tests/pfkey/esp-alg-null/posttest.dat b/testing/tests/pfkey/esp-alg-null/posttest.dat
index 94a400606..046d4cfdc 100644
--- a/testing/tests/pfkey/esp-alg-null/posttest.dat
+++ b/testing/tests/pfkey/esp-alg-null/posttest.dat
@@ -1,4 +1,4 @@
moon::ipsec stop
carol::ipsec stop
-moon::/etc/init.d/iptables stop 2> /dev/null
-carol::/etc/init.d/iptables stop 2> /dev/null
+moon::iptables-restore < /etc/iptables.flush
+carol::iptables-restore < /etc/iptables.flush
diff --git a/testing/tests/pfkey/esp-alg-null/pretest.dat b/testing/tests/pfkey/esp-alg-null/pretest.dat
index f360351e1..4fc25772b 100644
--- a/testing/tests/pfkey/esp-alg-null/pretest.dat
+++ b/testing/tests/pfkey/esp-alg-null/pretest.dat
@@ -1,5 +1,5 @@
-moon::/etc/init.d/iptables start 2> /dev/null
-carol::/etc/init.d/iptables start 2> /dev/null
+moon::iptables-restore < /etc/iptables.rules
+carol::iptables-restore < /etc/iptables.rules
moon::ipsec start
carol::ipsec start
carol::sleep 1