masqmail

diff tests/hostname-stdin/test.tpl @ 340:60bb2dbe2866

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 08e258ed1ebc
children
line diff
     1.1 --- a/tests/hostname-stdin/test.tpl	Wed Aug 31 08:46:00 2011 +0200
     1.2 +++ b/tests/hostname-stdin/test.tpl	Wed Aug 31 09:14:38 2011 +0200
     1.3 @@ -3,9 +3,9 @@
     1.4  # path to the masqmail executable
     1.5  mm_bin=../../src/masqmail
     1.6  
     1.7 -hfrom="\"Fritz Meier\" <`logname`@RECV_HOST>"
     1.8 +hfrom="\"Fritz Meier\" <$LOGNAME@RECV_HOST>"
     1.9  hto="$hfrom"
    1.10 -to=`logname`@RECV_HOST
    1.11 +to=$LOGNAME@RECV_HOST
    1.12  hsubject="Masqmail test: hostname-stdin"
    1.13  
    1.14