summaryrefslogtreecommitdiffstats
path: root/bin/runtest
diff options
context:
space:
mode:
authorHDF Tester <hdftest@hdfgroup.org>2007-03-20 04:26:19 (GMT)
committerHDF Tester <hdftest@hdfgroup.org>2007-03-20 04:26:19 (GMT)
commit5fe2a249cfaf6bc91babfa5fab028d2e1dccbfa8 (patch)
tree331d5d0a7746e7a83f64b6120538bb30ce415dec /bin/runtest
parentac293ae20bb391a5d3c70f0eecfd6c2b518f1dbc (diff)
downloadhdf5-5fe2a249cfaf6bc91babfa5fab028d2e1dccbfa8.zip
hdf5-5fe2a249cfaf6bc91babfa5fab028d2e1dccbfa8.tar.gz
hdf5-5fe2a249cfaf6bc91babfa5fab028d2e1dccbfa8.tar.bz2
[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.
Diffstat (limited to 'bin/runtest')
-rwxr-xr-xbin/runtest2
1 files changed, 1 insertions, 1 deletions
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