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> |
||
---|---|---|
.. | ||
config | ||
lib | ||
autotest_common.sh |