Mercurial > masqmail
diff tests/localhost-stdin/test @ 340:60bb2dbe2866 0.3.3
In the tests: replaced logname(1) with $LOGNAME
Because logname(1) may not work if it has no controlling terminal.
See: http://aplawrence.com/cgi-bin/printer.pl?arg=/Forum/TonyLawrence8.html
Be it that reason or not, it didn't work on Crux, but $LOGNAME is set.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 31 Aug 2011 09:14:38 +0200 |
parents | 0379789a847b |
children |
line wrap: on
line diff
--- a/tests/localhost-stdin/test Wed Aug 31 08:46:00 2011 +0200 +++ b/tests/localhost-stdin/test Wed Aug 31 09:14:38 2011 +0200 @@ -4,9 +4,9 @@ mm_bin=../../src/masqmail -hfrom="\"Fritz Meier\" <`logname`@localhost>" +hfrom="\"Fritz Meier\" <$LOGNAME@localhost>" hto=$hfrom -to=`logname`@localhost +to=$LOGNAME@localhost hsubject="Masqmail test: localhost-stdin"