blob: 96e97728f96bb2a194121342e2da67d4c24ad7c5 [file] [log] [blame]
varnishtest "Tests the -cc argument"
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
shell {
set -e
$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