numam-spdk/test/vhost
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
..
common test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
ext4test vhost_test: update vhost ext4test for spdk vhost 2017-03-24 14:23:12 -07:00
fiotest test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
hotplug test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
initiator test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
integrity rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
lvol test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
other test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
readonly test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
spdk_vhost.sh test/vhost: use full path in spdk_vhost.sh 2017-12-26 11:17:12 -05:00