Make sptps_test more easy to work with.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 1 Sep 2013 14:02:49 +0000 (16:02 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 1 Sep 2013 14:02:49 +0000 (16:02 +0200)
commit09cd7ac62a40851a73f0bf7e8721848c10a7b1ff
tree298a88dea3347a04f7512659a6aa12a4c62e3687
parent1cdb0c21d42d600d0e89857f4e9f33843f9372c8
Make sptps_test more easy to work with.

It now defers reading from stdin until after the authentication phase is
completed.  Furthermore, it supports the -q, -r, -w options similar to those of
Jürgen Nickelsen's socket.
src/sptps_test.c
test/sptps_basic.test