Whamcloud - gitweb
LU-9474 tests: replace import_file with copytool import 98/30098/21
authorQuentin Bouget <quentin.bouget@cea.fr>
Wed, 15 Nov 2017 10:05:15 +0000 (10:05 +0000)
committerOleg Drokin <green@whamcloud.com>
Mon, 6 Aug 2018 14:35:01 +0000 (14:35 +0000)
commit61089d59a672e0e3760e52cc1e6fc7f10caaf00e
tree479640a49ad5c6e3d78c6d8cbdd8779beea62278
parent3b30ba34e2bd80294d1ee03b77b3ddec84c21962
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>
lustre/tests/sanity-hsm.sh