Maximilian Mader | fc0cceb | 2021-06-06 00:50:22 +0200 | [diff] [blame] | 1 | varnishtest "Tests the -cc argument" |
2 | |||||
Maximilian Mader | fc0cceb | 2021-06-06 00:50:22 +0200 | [diff] [blame] | 3 | feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'" |
4 | |||||
5 | shell { | ||||
6 | $HAPROXY_PROGRAM -cc "version_atleast(2.4)" | ||||
7 | ! $HAPROXY_PROGRAM -cc "version_atleast(1024)" | ||||
8 | |||||
9 | $HAPROXY_PROGRAM -cc "streq(foo,'foo')" | ||||
10 | $HAPROXY_PROGRAM -cc "streq(\"foo bar\",'foo bar')" | ||||
11 | ! $HAPROXY_PROGRAM -cc "streq(foo,bar)" | ||||
12 | } -run |