From 514b7da9a7ff57653cea23aeeb2a8ab51dab2fa1 Mon Sep 17 00:00:00 2001 From: Bobi Jam Date: Fri, 7 Apr 2017 11:12:10 +0800 Subject: [PATCH] LU-9300 test: need copytool setup for sanity-hsm 1b sanity-hsm test_1b() needs setup/cleanup copytool in the test. Test-Parameters: trivial testlist=sanity-hsm,sanity-pfl Signed-off-by: Bobi Jam Change-Id: I40b083db37eb4e764e06606d0912ac635dc8c2a1 Reviewed-on: https://review.whamcloud.com/26434 Tested-by: Jenkins Reviewed-by: Andreas Dilger Reviewed-by: Niu Yawei Tested-by: Maloo Reviewed-by: Jinshan Xiong --- lustre/tests/sanity-hsm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index f29314b..ca1f23e 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -918,6 +918,8 @@ test_1b() { error "failed to create file" local fid=$(path2fid $f) + copytool_setup + echo "archive $f" $LFS hsm_archive $f || error "could not archive file" wait_request_state $fid ARCHIVE SUCCEED @@ -932,6 +934,8 @@ test_1b() { wait_request_state $fid RESTORE SUCCEED echo "verify restored state: " check_hsm_flags $f "0x00000009" && echo "pass" + + copytool_cleanup } run_test 1b "Archive, Release & Restore composite file" -- 1.8.3.1