summaryrefslogtreecommitdiffstats
path: root/tests/README
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-12-20 17:09:56 +0100
committerAndreas Schneider <asn@samba.org>2013-12-20 17:15:36 +0100
commit7d0e5efedce4cc338d0f9fb355793eba6542dfa9 (patch)
tree0f1afbc00a16e33160a839b22e8b2ebbfa619014 /tests/README
parentf6f5e28f3382d3828228089765040413682db85a (diff)
downloadsocket_wrapper-7d0e5efedce4cc338d0f9fb355793eba6542dfa9.tar.gz
socket_wrapper-7d0e5efedce4cc338d0f9fb355793eba6542dfa9.tar.xz
socket_wrapper-7d0e5efedce4cc338d0f9fb355793eba6542dfa9.zip
tests: Use torture_server_(address|port).
This makes it possible to run tests without socket_wrapper.
Diffstat (limited to 'tests/README')
-rw-r--r--tests/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/README b/tests/README
new file mode 100644
index 0000000..26bf1fb
--- /dev/null
+++ b/tests/README
@@ -0,0 +1,9 @@
+In this directory you can find all socket_wrapper tests. All tests can also be
+executed outside of the 'make test' environment and without socket_wrapper.
+
+This can be done with:
+
+TORTURE_SERVER_ADDRESS_IPV4="127.0.0.1" \
+TORTURE_SERVER_ADDRESS_IPV6="::1" \
+TORTURE_SERVER_PORT=7777 \
+./tests/test_echo_tcp_write_read