In sanity-hsm.sh place the HSM archive in the tmp directory local to
the copytool.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ied319cfca2481f19f726f91f065148c5675e006d
Reviewed-on: http://review.whamcloud.com/14659
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
exit 0
fi
+ # We used to put the HSM archive in $SHARED_DIRECTORY but that
+ # meant NFS issues could hose sanity-hsm sessions. So now we
+ # use $TMP instead.
for n in $(seq $AGTCOUNT); do
- eval export AGTDEV$n=\$\{AGTDEV$n:-"$SHARED_DIRECTORY/arc$n"\}
+ eval export AGTDEV$n=\$\{AGTDEV$n:-"$TMP/arc$n"\}
agent=CLIENT$((n + 1))
if [[ -z "${!agent}" ]]; then
[[ $CLIENTCOUNT -eq 1 ]] && agent=CLIENT1 ||