@@ -298,18 +298,18 @@ test_different_endpoint3()
298298# pic#compy-dtn will only transfer to/from /compyfs/...
299299
300300# Command line parameters:
301- try_num =" $1 "
301+ unique_id =" $1 "
302302src_machine=" $2 " # chrysalis, perlmutter, compy
303303path_to_repo=" $3 " # /home/ac.forsyth2/ez/zstash, /global/homes/f/forsyth/ez/zstash, /qfs/people/fors729/ez/zstash
304304chrysalis_dst_basedir=" $4 " # /home/ac.forsyth2/zstash_tests
305305perlmutter_dst_basedir=" $5 " # /global/homes/f/forsyth/zstash_tests
306306hpss_dst_basedir=" $6 " # /home/f/forsyth/zstash_tests
307307compy_dst_basedir=" $7 " # /compyfs/fors729/zstash_tests (/qfs/people/fors729/ => permission denied)
308308
309- chrysalis_dst_dir=${chrysalis_dst_basedir} /test_globus_auth_try ${try_num }
310- perlmutter_dst_dir=${perlmutter_dst_basedir} /test_globus_auth_try ${try_num }
311- hpss_dst_dir=${hpss_dst_basedir} /test_globus_auth_try ${try_num }
312- compy_dst_dir=${compy_dst_basedir} /test_globus_auth_try ${try_num }
309+ chrysalis_dst_dir=${chrysalis_dst_basedir} /test_globus_auth_ ${unique_id }
310+ perlmutter_dst_dir=${perlmutter_dst_basedir} /test_globus_auth_ ${unique_id }
311+ hpss_dst_dir=${hpss_dst_basedir} /test_globus_auth_ ${unique_id }
312+ compy_dst_dir=${compy_dst_basedir} /test_globus_auth_ ${unique_id }
313313
314314# Determine which endpoints to use for the endpoint-switching tests
315315# switch1 should never be the last-tested endpoint (i.e., compy)
@@ -346,9 +346,9 @@ echo "Compy: rm -rf ${compy_dst_basedir}/test_globus_auth*"
346346echo " This won't work on HPSS, because -rf flags are unsupported:"
347347echo " NERSC HPSS: rm -rf ${hpss_dst_basedir} /test_globus_auth*"
348348echo " "
349- echo " It is therefore advisable to just increment a 'try number' to avoid directory conflicts."
350- echo " Currently, try_num =${try_num } "
351- if ! confirm " Is the try_num correct?" ; then
349+ echo " It is therefore advisable to just set a unique_id to avoid directory conflicts."
350+ echo " Currently, unique_id =${unique_id } "
351+ if ! confirm " Is the unique_id correct?" ; then
352352 exit 1
353353fi
354354
@@ -362,8 +362,10 @@ echo "Primary tests: single authentication code tests for each endpoint"
362362echo " If a test hangs, check if https://app.globus.org/activity reports any errors on your transfers."
363363echo " Testing transfer to LCRC Improv DTN ####################################"
364364test_single_auth_code ${path_to_repo} LCRC_IMPROV_DTN_ENDPOINT ${chrysalis_dst_dir}
365- echo " Testing transfer to NERSC Perlmutter ###################################"
366- test_single_auth_code ${path_to_repo} NERSC_PERLMUTTER_ENDPOINT ${perlmutter_dst_dir}
365+ if [ " $src_machine " != " perlmutter" ]; then
366+ echo " Testing transfer to NERSC Perlmutter ###################################"
367+ test_single_auth_code ${path_to_repo} NERSC_PERLMUTTER_ENDPOINT ${perlmutter_dst_dir}
368+ fi
367369echo " Testing transfer to NERSC HPSS #########################################"
368370test_single_auth_code ${path_to_repo} NERSC_HPSS_ENDPOINT ${hpss_dst_dir}
369371echo " Testing transfer to pic#compy-dtn ######################################"
0 commit comments