Whamcloud - gitweb
LU-9345 tests: use hsm_remove with --mntpath for deleted files
[fs/lustre-release.git] / lustre / tests / sanity-hsm.sh
index 02b5175..a69302a 100755 (executable)
@@ -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