In fio.sh we used `set +e` for bdev deletion RPCs and for `wait $fio_pid`. Disabling errors from those RPCs doesn't make sense. We expect FIO to fail due to bdev hotremoval, but the bdev hotremoval itself must succeed. Besides, it's easy to forget to undo `set +e` so don't use it. For `wait` we can use the following paradigm instead: ``` rc=0 wait $pid || rc=$? ``` The same applies to nmic.sh, where we expect some RPC to fail. Change-Id: I66ce3504a0c6b5da497759f0688b6c0ea6480b61 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457463 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com>
NVMe-oF test scripts
The test scripts in this directory hierarchy can be run in isolation by passing the --iso flag when running the test script. This will set up the RDMA NIC for testing and then tear it back down again when the test is completed.