diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-09-25 21:49:02 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-09-25 21:49:02 (GMT) |
commit | 720f526e98d25ca6dc4d56558c52c09dd7a29049 (patch) | |
tree | d0d075ccd03cc9338ec3ed984257e1e1948231f1 /bin | |
parent | 61ef0bd3ad08a7bfb2a567df1bd3f885af32dc17 (diff) | |
download | hdf5-720f526e98d25ca6dc4d56558c52c09dd7a29049.zip hdf5-720f526e98d25ca6dc4d56558c52c09dd7a29049.tar.gz hdf5-720f526e98d25ca6dc4d56558c52c09dd7a29049.tar.bz2 |
[svn-r9320] Purpose:
Feature
Description:
Added code to support the -configname feature.
Platforms tested:
no h5committest which does not test this command.
ran it by hand in eirene comparing tg-login1 and tg-login2.
Misc. update:
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/runtest | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/runtest b/bin/runtest index 9382c54..988981c 100755 --- a/bin/runtest +++ b/bin/runtest @@ -742,6 +742,11 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then n_test=0 runtest_type="hosts" for h in $TESTHOST; do + # Must do CONFIGNAME before $h got changed by the second cut. + # cut returns the whole string if there is no / in the string + # at all. But that works okay for the CONFIGNAME too. + CONFIGNAME=`echo $h | cut -f2 -d/` + h=`echo $h | cut -f1 -d/` n_test=`expr $n_test + 1` TMP_OUTPUT="#$h.out" (PRINT "==============" @@ -751,7 +756,7 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then # run the remote shell command with output to $TMP_OUTPUT case "$RSH" in rsh|ssh) - CMD="$RSH $h -n $PROGNAME -configname $h" + CMD="$RSH $h -n $PROGNAME -configname $CONFIGNAME" PRINT $CMD # kludge: some how eirene and houdin can not have # rsh connections too close. wait a few seconds @@ -778,6 +783,7 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then # wait for all launched tests to finish, then cat them back out. wait for h in $TESTHOST; do + h=`echo $h | cut -f1 -d/` TMP_OUTPUT="#$h.out" cat $TMP_OUTPUT # Verify test script did complete by checking the last lines |