Spdk/test
Darek Stojaczyk 3b660ea857 autotest/common: factor out xtrace disable/restore
Factor out `set -x` and +x to separate functions. Changing
xtraces is not so trivial and we'll be improving it later
on. We can't factor out the code as is due to local variables,
so we already simplify it a bit in this patch.

Change-Id: Iecbf5cedf821b7b1b71da933ceb158761881a843
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453246
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-05-10 22:08:13 +00:00
..
app notify: add notification library 2019-03-29 21:15:14 +00:00
bdev test/raid: switch from config file to RPC 2019-05-08 14:43:59 +00:00
blobfs rocksdb: cleanup SpdkInitializeThread/SpdkFinalizeThread 2019-05-02 09:00:43 +00:00
blobstore test: don't call python explicitly 2019-05-08 14:22:19 +00:00
common autotest/common: factor out xtrace disable/restore 2019-05-10 22:08:13 +00:00
config_converter iscsi: Deprecate MinConnectionsPerCore 2019-05-06 17:10:48 +00:00
cpp_headers build: don't include spdk.app.mk in test/cpp_headers 2018-12-12 22:35:21 +00:00
env test: add mem_callbacks unit test 2019-03-12 13:58:57 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl bdev/ftl: Add json config generation 2019-04-01 23:59:39 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt bdev: make bdevs array for get_bdevs_iostat RPC 2019-05-08 22:43:00 +00:00
json_config test/json_config: fix issue with missing bdev 2019-05-08 15:25:03 +00:00
lvol test/lvol: Add a case in usage and fix a typo 2019-05-01 18:46:59 +00:00
nvme test/nvme: Move ASAN check out of for loop 2019-05-08 21:27:05 +00:00
nvmf test/nvmf: disable bdevio test for now 2019-05-09 19:03:18 +00:00
ocf test: don't call python explicitly 2019-05-08 14:22:19 +00:00
pmem bdev: remove delete_bdev RPC 2019-03-01 08:50:07 +00:00
rpc_client jsonrpc: add connection close callback 2019-01-10 14:31:37 +00:00
spdkcli spdkcli: Add support for raid devices 2019-05-09 19:36:35 +00:00
unit thread: Add a cleanup function for threads 2019-05-09 04:35:10 +00:00
vhost test: don't call python explicitly 2019-05-08 14:22:19 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00