aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tnc/tnccs-20-os/pretest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2012-10-12 09:50:15 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2012-10-12 09:50:15 +0200
commit4abe404d2717030c090c0479081de270f0cb6f34 (patch)
tree02a91b611a828260ac8b64c34bd272d2e858679e /testing/tests/tnc/tnccs-20-os/pretest.dat
parentca1a64742f99703855e784a6b6b1c01b382f661a (diff)
downloadstrongswan-4abe404d2717030c090c0479081de270f0cb6f34.tar.bz2
strongswan-4abe404d2717030c090c0479081de270f0cb6f34.tar.xz
added tnc/tnccs-20-os scenario
Diffstat (limited to 'testing/tests/tnc/tnccs-20-os/pretest.dat')
-rw-r--r--testing/tests/tnc/tnccs-20-os/pretest.dat13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/tests/tnc/tnccs-20-os/pretest.dat b/testing/tests/tnc/tnccs-20-os/pretest.dat
new file mode 100644
index 000000000..208f9daa9
--- /dev/null
+++ b/testing/tests/tnc/tnccs-20-os/pretest.dat
@@ -0,0 +1,13 @@
+moon::/etc/init.d/iptables start 2> /dev/null
+carol::/etc/init.d/iptables start 2> /dev/null
+dave::/etc/init.d/iptables start 2> /dev/null
+moon::cat /etc/tnc_config
+carol::cat /etc/tnc_config
+dave::cat /etc/tnc_config
+moon::ipsec start
+carol::ipsec start
+dave::ipsec start
+carol::sleep 1
+carol::ipsec up home
+dave::ipsec up home
+dave::sleep 1