Hello,
On 06/20/2018 03:34 PM, Илья Шипицин wrote:
hi
[ilia@localhost haproxy]$ HAPROXY_PROGRAM=./haproxy varnishtest
reg-tests/ssl/h00000.vtc
**** top 0.0 extmacro def pwd=/home/ilia/xxx/haproxy
**** top 0.0 extmacro def localhost=127.0.0.1
**** top 0.0 extmacro def bad_backend=127.0.0.1 36769
**** top 0.0 extmacro def bad_ip=192.0.2.255
**** top 0.0 macro def tmpdir=/tmp/vtc.31222.33cfe809
* top 0.0 TEST reg-tests/ssl/h00000.vtc starting
** top 0.0 === varnishtest "OpenSSL bug: Random crashes"
* top 0.0 TEST OpenSSL bug: Random crashes
** top 0.0 === feature ignore_unknown_macro
** top 0.0 === haproxy h1 -conf {
---- top 0.0 Unknown command: "haproxy"
* top 0.0 RESETTING after reg-tests/ssl/h00000.vtc
* top 0.0 TEST reg-tests/ssl/h00000.vtc FAILED
# top TEST reg-tests/ssl/h00000.vtc FAILED (0.001) exit=2
[ilia@localhost haproxy]$
Something like this should work:
$ HAPROXY_PROGRAM=$PWD/haproxy varnishtest reg-tests/ssl/h00000.vtc
# top TEST reg-tests/ssl/h00000.vtc passed (0.147)
Thanks,
-- Daniel