comparison 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
comparison
equal deleted inserted replaced
339:e6864daf89f4 340:60bb2dbe2866
2 2
3 # path to the masqmail executable 3 # path to the masqmail executable
4 mm_bin=../../src/masqmail 4 mm_bin=../../src/masqmail
5 5
6 6
7 hfrom="\"Fritz Meier\" <`logname`@localhost>" 7 hfrom="\"Fritz Meier\" <$LOGNAME@localhost>"
8 hto=$hfrom 8 hto=$hfrom
9 to=`logname`@localhost 9 to=$LOGNAME@localhost
10 hsubject="Masqmail test: localhost-stdin" 10 hsubject="Masqmail test: localhost-stdin"
11 11
12 12
13 # Testing with rcpt on cmd line 13 # Testing with rcpt on cmd line
14 # (dot does end) 14 # (dot does end)