test/vhost: Move negative tests from nightly to per-patch.
Change-Id: Ia679f176f84b1d461f6bcc69b3fd509b6f7a66d1 Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/556 Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
50e44f841a
commit
6f7cb2ad58
@ -63,7 +63,6 @@ if ! $VHOST_APP -t vhost_scsi -h; then
|
|||||||
warning "vhost did not started with trace flags enabled but ignoring this as it might not be a debug build"
|
warning "vhost did not started with trace flags enabled but ignoring this as it might not be a debug build"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $RUN_NIGHTLY -eq 1 ]]; then
|
|
||||||
# Run with valid config and try some negative rpc calls
|
# Run with valid config and try some negative rpc calls
|
||||||
notice "==============="
|
notice "==============="
|
||||||
notice ""
|
notice ""
|
||||||
@ -72,7 +71,6 @@ if [[ $RUN_NIGHTLY -eq 1 ]]; then
|
|||||||
vhost_run 0
|
vhost_run 0
|
||||||
vhost_load_config 0 $testdir/conf.json
|
vhost_load_config 0 $testdir/conf.json
|
||||||
notice ""
|
notice ""
|
||||||
|
|
||||||
rpc_py="$rootdir/scripts/rpc.py -s $(get_vhost_dir 0)/rpc.sock"
|
rpc_py="$rootdir/scripts/rpc.py -s $(get_vhost_dir 0)/rpc.sock"
|
||||||
|
|
||||||
# Try to get nonexistent vhost controller
|
# Try to get nonexistent vhost controller
|
||||||
@ -166,6 +164,5 @@ if [[ $RUN_NIGHTLY -eq 1 ]]; then
|
|||||||
|
|
||||||
notice "EXIT DONE"
|
notice "EXIT DONE"
|
||||||
notice "==============="
|
notice "==============="
|
||||||
fi
|
|
||||||
|
|
||||||
vhosttestfini
|
vhosttestfini
|
||||||
|
Loading…
Reference in New Issue
Block a user