Maximilian Mader | fc0cceb | 2021-06-06 00:50:22 +0200 | [diff] [blame^] | 1 | varnishtest "Tests the -cc argument" |
2 | |||||
3 | #REQUIRE_VERSION=2.5 | ||||
4 | feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'" | ||||
5 | |||||
6 | shell { | ||||
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 |