diff options
author | HDF Tester <hdftest@hdfgroup.org> | 2007-03-20 04:26:19 (GMT) |
---|---|---|
committer | HDF Tester <hdftest@hdfgroup.org> | 2007-03-20 04:26:19 (GMT) |
commit | 5fe2a249cfaf6bc91babfa5fab028d2e1dccbfa8 (patch) | |
tree | 331d5d0a7746e7a83f64b6120538bb30ce415dec /bin/runtest | |
parent | ac293ae20bb391a5d3c70f0eecfd6c2b518f1dbc (diff) | |
download | hdf5-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-x | bin/runtest | 2 |
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 |