A previous commit introduced the stack_trap() utility function,
the patch should have removed any duplicate cleanup actions but
missed a few in test_26{a,b,c,d} of sanity-hsm.
This commits removes them.
Test-Parameters: trivial testlist=sanity-hsm
Signed-off-by: Quentin Bouget <quentin.bouget@cea.fr>
Change-Id: I63e1df6610d0fbceb2f88a5b59b8263b8ccaf525
Reviewed-on: https://review.whamcloud.com/31429
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
rm -f $f2
- set_hsm_param remove_archive_on_last_unlink 0
-
wait_request_state $fid2 REMOVE SUCCEED
assert_request_count $fid REMOVE 0 \
rm -f $f
- set_hsm_param remove_archive_on_last_unlink 0
-
wait_request_state $fid REMOVE WAITING
cdt_enable
# signal, close file, and exit ...
wait $pid || error "wait PID $PID failed"
- set_hsm_param remove_archive_on_last_unlink 0
-
wait_request_state $fid REMOVE SUCCEED
}
run_test 26c "RAoLU effective when file closed"
mds_evict_client
- set_hsm_param remove_archive_on_last_unlink 0
-
wait_request_state $fid REMOVE SUCCEED
client_up || client_up || true