diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-25 14:17:11 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-08-08 15:44:42 +0200 |
commit | 2b3882d8f471d4f7b0aa7d2d742f6fa417771c64 (patch) | |
tree | b8db84422fae1c090f0b999aece5b2c980b84eda /src/tests/debug.mk | |
parent | 50de526e796ec66f03086d660dcb81a385340eb0 (diff) |
tests: use makefile and expand greatly
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/tests/debug.mk')
-rw-r--r-- | src/tests/debug.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tests/debug.mk b/src/tests/debug.mk index a013c97..1b298a7 100644 --- a/src/tests/debug.mk +++ b/src/tests/debug.mk @@ -21,7 +21,12 @@ test: debug -sudo modprobe x_tables -sudo modprobe ipv6 -sudo modprobe xt_hashlimit - ./tests/netns.sh + -sudo rmmod wireguard + -sudo insmod wireguard.ko + sudo PATH="$(shell pwd)/tools:$$PATH:/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin" ./tests/netns.sh + +test-qemu: + $(MAKE) -C tests/qemu remote-test: ssh $(SSH_OPTS1) -Nf $(REMOTE_HOST1) |