Spdk/test
Darek Stojaczyk 005e18a881 autotest/common: silence hash output
We've got a bunch of `if hash` checks that generate
unnecessary output, e.g.:

$ if ! hash ceph; then [...]
/var/jenkins/workspace/Other_systems/centos7_autotest/
spdk/test/common/autotest_common.sh: line 28: hash: ceph: not found

We now silence that output in cases where we do expect
the binary to be unavailable and handle that case, but
we hold off in cases where `if hash` is just a sanity
check (e.g. `hash sgdisk` in part_dev_by_gpt() which
can make the entire function return immediately and do
nothing).

Change-Id: I7cbfada858aa86d57cbe182ea7f9b222debc8b88
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453207
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Seth Howell <seth.howell5141@gmail.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-05-08 10:58:51 +00:00
..
app notify: add notification library 2019-03-29 21:15:14 +00:00
bdev test/bdevio: allow reset test to fail on NVMe 2019-05-07 05:23:31 +00:00
blobfs rocksdb: cleanup SpdkInitializeThread/SpdkFinalizeThread 2019-05-02 09:00:43 +00:00
blobstore histograms: tests for bdev histograms 2019-01-24 21:50:18 +00:00
common autotest/common: silence hash output 2019-05-08 10:58:51 +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 test/iscsi: remove DPDK_DIR from iscsi ext4test.sh 2019-05-07 16:50:26 +00:00
json_config test/json_config: print config when check_empty fails 2019-05-07 03:52:13 +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: kill stub with -9 when a failure occurs 2019-05-07 05:11:54 +00:00
nvmf test/nvmf: move target-related scripts to one directory 2019-05-07 01:51:47 +00:00
ocf test/ocf: add missing test completion report 2019-05-07 17:47:59 +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 iscsi: Deprecate MinConnectionsPerCore 2019-05-06 17:10:48 +00:00
unit nvme: remove qpair_disable 2019-05-08 01:44:20 +00:00
vhost vhost: Rename test/vhost/spdk_vhost.sh to manual.sh 2019-05-02 08:29:30 +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