diff --git a/test/vhost/other/negative.sh b/test/vhost/other/negative.sh index dfad7361d..5b7d04baa 100755 --- a/test/vhost/other/negative.sh +++ b/test/vhost/other/negative.sh @@ -75,6 +75,11 @@ if [[ $RUN_NIGHTLY -eq 1 ]]; then rpc_py="$rootdir/scripts/rpc.py -s $(get_vhost_dir 0)/rpc.sock" + # Try to get nonexistent vhost controller + if $rpc_py vhost_get_controllers -n nonexistent; then + error "vhost returned controller that does not exist" + fi + # General commands notice "Trying to remove nonexistent controller" if $rpc_py vhost_delete_controller unk0 > /dev/null; then