5 # Skip this test if we did not compile sptps_test
7 test -e $sptps_test -a -e $sptps_keypair || exit 77
13 $sptps_keypair $d1/server.priv $d1/server.pub
14 $sptps_keypair $d1/client.priv $d1/client.pub
16 # Test transfer of a simple file.
18 (sleep 1; $sptps_test -4 -q $d1/client.priv $d1/server.pub localhost 32750 <Makefile) &
19 $sptps_test -4 $d1/server.priv $d1/client.pub 32750 >$d1/out1
22 $sptps_test -4 -q $d1/server.priv $d1/client.pub 32750 <Makefile &
24 $sptps_test -4 $d1/client.priv $d1/server.pub localhost 32750 > $d1/out2
29 $sptps_test -4 -dq $d1/server.priv $d1/client.pub 32750 <Makefile &
31 sleep 1 | $sptps_test -4 -dq $d1/client.priv $d1/server.pub localhost 32750 >$d1/out3