blob: 7d3324bfee9c1f5f7051a32830040fcbd3cceb97 [file] [log] [blame]
varnishtest "Tests the -cc argument"
#REQUIRE_VERSION=2.5
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
shell {
$HAPROXY_PROGRAM -cc "version_atleast(2.4)"
! $HAPROXY_PROGRAM -cc "version_atleast(1024)"
$HAPROXY_PROGRAM -cc "streq(foo,'foo')"
$HAPROXY_PROGRAM -cc "streq(\"foo bar\",'foo bar')"
! $HAPROXY_PROGRAM -cc "streq(foo,bar)"
} -run