Whamcloud - gitweb
LU-6559 test: use local tmp for HSM archive 59/14659/4
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 4 May 2015 14:04:56 +0000 (09:04 -0500)
committerAndreas Dilger <andreas.dilger@intel.com>
Thu, 7 May 2015 19:48:55 +0000 (19:48 +0000)
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>
lustre/tests/sanity-hsm.sh

index 0ee67b1..cd5116c 100755 (executable)
@@ -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 ||