Whamcloud - gitweb
LU-9474 tests: replace import_file with copytool import
In sanity-hsm, replace every call to import_file() using the newer
copytool() interface (copytool import).
The appropriate modifications to any function that internally uses
the variable HSM_ARCHIVE are made.
From now on, tests in sanity-hsm that need to launch a copytool,
import a file, rebind archived data should do so using:
- copytool setup
- copytool import
- copytool rebind
With this patch, sanity-hsm also completes the transition from
trap() to stack_trap().
Test-Parameters: trivial clientcount=3 mdscount=2 testlist=sanity-hsm,sanity-hsm
Change-Id: I911964a4bafd4d879e08f506cfe33e3db29cff42
Signed-off-by: Quentin Bouget <quentin.bouget@cea.fr>
Reviewed-on: https://review.whamcloud.com/30098
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>