masqmail

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