Whamcloud - gitweb
LU-13147 tests: Cleanup sanity-lnet on test failure 58/37258/4
authorChris Horn <hornc@cray.com>
Thu, 16 Jan 2020 19:31:47 +0000 (13:31 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Jan 2020 06:02:39 +0000 (06:02 +0000)
commit2d1126523bee642c7e74e66c8e025850c8129b9a
tree008d5c1b131d940a056ca0dd89821f738760e1f2
parent58bea527100b50abf3df2dbab0ed6d6b42b69d86
LU-13147 tests: Cleanup sanity-lnet on test failure

Trap EXIT so we can cleanup on test failure.

Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I702b214046a68af2b87536dab01879c356bff2a8
Reviewed-on: https://review.whamcloud.com/37258
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-lnet.sh