From 5fe2a249cfaf6bc91babfa5fab028d2e1dccbfa8 Mon Sep 17 00:00:00 2001 From: HDF Tester Date: Mon, 19 Mar 2007 23:26:19 -0500 Subject: [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. --- bin/runtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/runtest b/bin/runtest index 61f1bed..034dbc0 100755 --- a/bin/runtest +++ b/bin/runtest @@ -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 -- cgit v0.12