blob: 7d3324bfee9c1f5f7051a32830040fcbd3cceb97 [file] [log] [blame]
Maximilian Maderfc0cceb2021-06-06 00:50:22 +02001varnishtest "Tests the -cc argument"
2
3#REQUIRE_VERSION=2.5
4feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
5
6shell {
7 $HAPROXY_PROGRAM -cc "version_atleast(2.4)"
8 ! $HAPROXY_PROGRAM -cc "version_atleast(1024)"
9
10 $HAPROXY_PROGRAM -cc "streq(foo,'foo')"
11 $HAPROXY_PROGRAM -cc "streq(\"foo bar\",'foo bar')"
12 ! $HAPROXY_PROGRAM -cc "streq(foo,bar)"
13} -run