summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-scripts/anytun1
-rw-r--r--test-scripts/anytun-run1
-rwxr-xr-xtest-scripts/anytun-svn4
-rwxr-xr-xtest-scripts/anytun-svn-run10
4 files changed, 16 insertions, 0 deletions
diff --git a/test-scripts/anytun b/test-scripts/anytun
new file mode 100644
index 0000000..dbd8a04
--- /dev/null
+++ b/test-scripts/anytun
@@ -0,0 +1 @@
+10 1 * * * otti /bin/anytun-svn
diff --git a/test-scripts/anytun-run b/test-scripts/anytun-run
new file mode 100644
index 0000000..9fbe022
--- /dev/null
+++ b/test-scripts/anytun-run
@@ -0,0 +1 @@
+15 1 * * * root /bin/anytun-svn-run
diff --git a/test-scripts/anytun-svn b/test-scripts/anytun-svn
new file mode 100755
index 0000000..29931cb
--- /dev/null
+++ b/test-scripts/anytun-svn
@@ -0,0 +1,4 @@
+#!/bin/bash
+cd /home/otti/anytun
+svn up | grep -v Revision && make
+exit 0
diff --git a/test-scripts/anytun-svn-run b/test-scripts/anytun-svn-run
new file mode 100755
index 0000000..cf12181
--- /dev/null
+++ b/test-scripts/anytun-svn-run
@@ -0,0 +1,10 @@
+#!/bin/bash
+cd /home/otti/anytun
+killall anytun
+sleep 5
+./anytun -i 77.87.240.1 -n 77.87.244.1 255.255.252.0 &
+./anytun -i 77.87.240.1 -p 4445 -d anytun0 -t tun -n 77.87.240.2 77.87.240.3 -r 89.106.215.29 -o 4445 -w 0 &
+sleep 5
+ip route add 77.87.241.0/24 via 77.87.240.3 dev anytun0
+ip link set anytun0 mtu 1400
+exit 0