diff options
author | HDF Tester <hdftest@hdfgroup.org> | 2007-03-20 04:31:03 (GMT) |
---|---|---|
committer | HDF Tester <hdftest@hdfgroup.org> | 2007-03-20 04:31:03 (GMT) |
commit | 5961be64ff292c022bef98b496fd07f55ec23aa1 (patch) | |
tree | 14cedfeedf48dd7a119c7e7979761d682e15a6ac /bin | |
parent | 2bda773876876db92f6c4054057b21d2c7b54896 (diff) | |
download | hdf5-5961be64ff292c022bef98b496fd07f55ec23aa1.zip hdf5-5961be64ff292c022bef98b496fd07f55ec23aa1.tar.gz hdf5-5961be64ff292c022bef98b496fd07f55ec23aa1.tar.bz2 |
[svn-r13528] 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')
-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 |