Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-14359 hsm: support a flatter HSM archive format
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity-hsm.sh
diff --git
a/lustre/tests/sanity-hsm.sh
b/lustre/tests/sanity-hsm.sh
index
be7276b
..
f378963
100755
(executable)
--- a/
lustre/tests/sanity-hsm.sh
+++ b/
lustre/tests/sanity-hsm.sh
@@
-147,10
+147,13
@@
fid2archive()
{
local fid="$1"
{
local fid="$1"
- case "$HSMTOOL" in
- *lhsmtool_posix)
- printf "%s" "$(hsm_root)/*/*/*/*/*/*/$fid"
- ;;
+ case "$HSMTOOL_ARCHIVE_FORMAT" in
+ v1)
+ printf "%s" "$(hsm_root)/*/*/*/*/*/*/$fid"
+ ;;
+ v2)
+ printf "%s" "$(hsm_root)/*/$fid"
+ ;;
esac
}
esac
}