vtest "Test CLI commands and parameter functions"

vinyl v1 -arg "-b ${bad_ip}:9080"

vinyl v1 -cliok "help"

vinyl v1 -cliok "-help"

vinyl v1 -cliok "help -a"

vinyl v1 -cliok "help -d"

vinyl v1 -clierr 101 "help -x"

vinyl v1 -cliok "help vcl.load"

vinyl v1 -clierr 101 "help ban"

vinyl v1 -clierr 101 "FOO?"

vinyl v1 -clierr 100 "\x22"

vinyl v1 -clierr 105 "help  1 2 3"

vinyl v1 -cliok "param.show"

vinyl v1 -start

vinyl v1 -cliok "help"

vinyl v1 -clijson "help -j"

vinyl v1 -cliok "backend.list"

vinyl v1 -clijson "backend.list -j"

vinyl v1 -cliok "ping"

vinyl v1 -clijson "ping -j"

vinyl v1 -clierr 106 "param.set waiter HASH(0x8839c4c)"

vinyl v1 -cliexpect 60 "param.show first_byte_timeout"
vinyl v1 -cliok "param.set first_byte_timeout 120"
vinyl v1 -cliexpect 120 "param.show first_byte_timeout"
vinyl v1 -cliok "param.reset first_byte_timeout"
vinyl v1 -cliexpect 60 "param.show first_byte_timeout"

vinyl v1 -cliok "param.set cli_limit 128"

vinyl v1 -clierr 201 "param.show"

vinyl v1 -cliok "\"help\" \"help\""
