From e2cc4fc8a1b8d9c2beda4a90003337d7ec4b0005 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Wed, 7 Nov 2012 13:55:35 -0800 Subject: [PATCH] Allow cmdline opts on swaks run-tests script --- swaks-tests/run-tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swaks-tests/run-tests.sh b/swaks-tests/run-tests.sh index 743bdae..3b134e9 100755 --- a/swaks-tests/run-tests.sh +++ b/swaks-tests/run-tests.sh @@ -4,10 +4,10 @@ export SWAKS_OPT_server="127.0.0.1:2500" export SWAKS_OPT_to="swaks@inbucket.local" # Basic test -swaks --h-Subject: "Swaks Plain Text" --body text.txt +swaks $* --h-Subject: "Swaks Plain Text" --body text.txt # HTML test -swaks --h-Subject: "Swaks HTML" --data html.raw +swaks $* --h-Subject: "Swaks HTML" --data html.raw # Attachment test -swaks --h-Subject: "Swaks Attachment" --attach-type image/png --attach favicon.png --body text.txt +swaks $* --h-Subject: "Swaks Attachment" --attach-type image/png --attach favicon.png --body text.txt