From 710f5ea458ee0db188bb7303ec18feb99e1ce1e0 Mon Sep 17 00:00:00 2001 From: Quentin Bouget Date: Fri, 13 May 2016 09:57:55 +0200 Subject: [PATCH] LU-8132 tests: do not truncate fsname from paths to ost/mdt Previously the default path for ost/mdt, while defined in cfg/local.sh to contain the filesystem name ("/mnt/"), was truncated (to "/mnt"). This lead the paths of two different filesystems to overlapse. This patch fixes this by keeping the fsname in the path to ost/mdt (default path now look like "/mnt/-"). Signed-off-by: Quentin Bouget Change-Id: Icf0baab4a9ceee42116bb12f64c0a07999b10551 Reviewed-on: http://review.whamcloud.com/20188 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Henri Doreau Reviewed-by: Oleg Drokin --- lustre/tests/test-framework.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 5bde188..b143748 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -3238,7 +3238,7 @@ facet_mntpt () { [[ $facet = mgs ]] && combined_mgs_mds && facet="mds1" local var=${facet}_MOUNT - eval mntpt=${!var:-${MOUNT%/*}/$facet} + eval mntpt=${!var:-${MOUNT}-$facet} echo -n $mntpt } -- 1.8.3.1