From cff9f1e7c6a41bfa05d1455b8964860803d12612 Mon Sep 17 00:00:00 2001 From: Quentin Bouget Date: Tue, 9 May 2017 14:05:36 +0200 Subject: [PATCH] LU-9345 tests: use hsm_remove with --mntpath for deleted files In test_29d of sanity-hsm, to run "lfs hsm_remove" on a file deleted from Lustre, one has to use the --mntpath option. Test-Parameters: trivial testlist=sanity-hsm clientcount=3 envdefinitions="ONLY=29d" Signed-off-by: Quentin Bouget Change-Id: I35865c059e498e1a0ced0cebeac22a8491231e00 Reviewed-on: https://review.whamcloud.com/27006 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: John L. Hammond Reviewed-by: Henri Doreau Reviewed-by: Oleg Drokin --- lustre/tests/sanity-hsm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index 02b5175..a69302a 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -2728,7 +2728,8 @@ test_29d() { rm -f $file - $LFS hsm_remove -a 0 $fid + $LFS hsm_remove --mntpath "$MOUNT" -a 0 $fid || + error "cannot hsm_remove '$fid'" # give time for CDT to handle remove request and create broadcasted sleep 2 -- 1.8.3.1