From: John L. Hammond Date: Mon, 4 May 2015 14:04:56 +0000 (-0500) Subject: LU-6559 test: use local tmp for HSM archive X-Git-Tag: 2.7.54~25 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=bd07c02c775d9a15fb1cdd34d556c660311c725a LU-6559 test: use local tmp for HSM archive In sanity-hsm.sh place the HSM archive in the tmp directory local to the copytool. Signed-off-by: John L. Hammond Change-Id: Ied319cfca2481f19f726f91f065148c5675e006d Reviewed-on: http://review.whamcloud.com/14659 Tested-by: Jenkins Reviewed-by: Jian Yu Reviewed-by: Faccini Bruno Tested-by: Maloo Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index 0ee67b1..cd5116c 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -73,8 +73,11 @@ init_agt_vars() { 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 ||