aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests/guest-init.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-07-25 14:17:11 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-08-08 15:44:42 +0200
commit0a2052846089300000ad2607097acd71d368ee3d (patch)
treeaa109df28e0d9c79ec4c195b150b70296d786552 /src/tests/guest-init.sh
parentpersistent-keepalive: change range to [1,65535] (diff)
downloadwireguard-monolithic-historical-0a2052846089300000ad2607097acd71d368ee3d.tar.xz
wireguard-monolithic-historical-0a2052846089300000ad2607097acd71d368ee3d.zip
tests: use makefile and expand greatly
Diffstat (limited to '')
-rwxr-xr-xsrc/tests/guest-init.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/tests/guest-init.sh b/src/tests/guest-init.sh
deleted file mode 100755
index 676bbb0..0000000
--- a/src/tests/guest-init.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-export PATH="/tools:/sbin:/bin"
-/bin/busybox ln -sf / /usr
-/bin/busybox --install -s
-mkdir /run /proc /tmp /sys /var /dev
-ln -s /run /var/run
-mount -t tmpfs none /run
-mount -t tmpfs none /tmp
-mount -t sysfs none /sys
-mount -t proc none /proc
-mount -t devtmpfs none /dev
-ln -s /proc/self/fd /dev/fd
-/wireguard/tests/netns.sh --no-module-insert && touch /wg-netns-success
-echo o > /proc/sysrq-trigger
-sleep 10000000000