move the --tls option down into the swaks_auth section; make it --tlsc instead; add...
authorMicah Anderson <micah@riseup.net>
Thu, 29 Aug 2013 20:11:09 +0000 (16:11 -0400)
committerMicah Anderson <micah@riseup.net>
Thu, 29 Aug 2013 20:11:09 +0000 (16:11 -0400)
test-swaks.sh

index 03414b3..3614740 100755 (executable)
@@ -8,8 +8,8 @@ server='localhost'
 # override $server with possible exported shell var
 [ $SWAKS_SERVER ] && server=$SWAKS_SERVER
 
 # override $server with possible exported shell var
 [ $SWAKS_SERVER ] && server=$SWAKS_SERVER
 
-swaks_options="--server $server --tls --hide-informational --suppress-data -p 587"
-swaks_auth="--tls-cert $HOME/leap/test/certs/cert.crt --tls-key $HOME/leap/test/certs/cert.key"
+swaks_options="--timeout 5 --server $server --hide-informational --suppress-data"
+swaks_auth="--tlsc --tls-cert $HOME/leap/test/certs/cert.crt --tls-key $HOME/leap/test/certs/cert.key"
 
 echo "swaks_options: $swaks_options"
 echo "swaks_auth   : $swaks_auth"
 
 echo "swaks_options: $swaks_options"
 echo "swaks_auth   : $swaks_auth"