[svn-r13527] Purpose:

Bug fix.

Description:
When it reads the allhostfile, it does eliminate comments or blank lines
completely, thus it continues to use ssh/rsh even when only the local
host is tested.

Solution:
Changed the sed scripts to eliminate comments and blank lines.

Tested:
Cobalt by running bin/runtest.  Since this is not really library source,
the three platforms test does not apply.
This commit is contained in:
HDF Tester 2007-03-19 23:26:19 -05:00
parent ac293ae20b
commit 5fe2a249cf

View File

@ -700,7 +700,7 @@ sleep 10
#################################
if [ "$TESTHOST" = -all ]; then
if [ -f $ALLHOSTSFILE ]; then
TESTHOST=`sed -e s/#.*// $ALLHOSTSFILE`
TESTHOST=`sed -e '/^#/d;/^ *$/d' $ALLHOSTSFILE`
else
PRINT "could not access the all-hosts-file ($ALLHOSTSFILE)"
USAGE