projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a17deec
)
fixed output to include authentication
author
varac
<varacanero@zeromail.org>
Fri, 30 Aug 2013 14:14:17 +0000
(16:14 +0200)
committer
varac
<varacanero@zeromail.org>
Fri, 30 Aug 2013 14:14:17 +0000
(16:14 +0200)
test-swaks.sh
patch
|
blob
|
history
diff --git
a/test-swaks.sh
b/test-swaks.sh
index
242e6e2
..
9f521b9
100755
(executable)
--- a/
test-swaks.sh
+++ b/
test-swaks.sh
@@
-34,7
+34,10
@@
test_swaks() {
echo -n 'WARNING: '
exit_code=1
fi
- echo "From $from, to $to, no authentication: $response"
+
+ [[ "$options" == *--tls* ]] && authentication='authenticated ' || authentication='no authentication'
+ [ ]
+ echo "From $from, to $to, $authentication: $response"
}
@@
-50,6
+53,7
@@
test_delivery() {
echo
}
+
test_delivery $local $local 250 250
test_delivery $local $nobody_local 550 550
test_delivery $local $external 554 250