Spdk/test/vhost/initiator
Pawel Wodkowski 575a291fa3 test/vhost: introduce notice, warning, error and fail message
helpers

So we can better trace what failed.
notice - just echo to stdout
warning - just echo to stderr
error - echo to stderr and return false, so trap ERR can catch this
fail - like err but call 'exit 1' at the end so if no trap ERR is used
it will exit anyway.

Change-Id: I5c7b3682fd6c0d81c07c58a5ec965155c7593407
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/392218
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-01-08 18:01:33 -05:00
..
bdev.conf.in test/vhost/initiator: specify RPC address via -r 2017-12-05 13:16:57 -05:00
blockdev.sh test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
vhost.conf.in rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00