Spdk/test/vhost/common
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
..
fio_jobs test/vhost: Remove norandommap from vhost initiator tests 2017-11-16 18:26:35 -05:00
autotest.config test/vhost: Add tests for hot-attach and hot-detach features. 2017-10-17 13:37:09 -04:00
common.sh test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
run_fio.py test/vhost: keep fio config file name for log output 2018-01-04 02:15:53 -05:00
run_vhost.sh test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
vm_run.sh test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
vm_setup.sh test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
vm_shutdown.sh test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00
vm_ssh.sh test/vhost: introduce notice, warning, error and fail message 2018-01-08 18:01:33 -05:00