Adds $relayd->{dummyrun} and $client->{noclient} flags to relayd tests
authorandre <andre@openbsd.org>
Fri, 9 May 2014 11:49:26 +0000 (11:49 +0000)
committerandre <andre@openbsd.org>
Fri, 9 May 2014 11:49:26 +0000 (11:49 +0000)
commit736ef810ab0169cadc599d9bcd260bb3020aeb58
tree990858a8d6f247b8090d7a55fc94a18af7eb33ab
parent09eaccf5f12a3e7a8446ede2dc34c188506b49cc
Adds $relayd->{dummyrun} and $client->{noclient} flags to relayd tests
framework. These flags can be set from test file which eases performing
dry-runs of relayd long enough to do relayd.conf parsing, thus enabling the
grammar/parser-only tests.  While here, fix and improves args-http-mark.pl to a
correct use-case.

ok reyk
regress/usr.sbin/relayd/Proc.pm
regress/usr.sbin/relayd/Relayd.pm
regress/usr.sbin/relayd/args-http-mark.pl
regress/usr.sbin/relayd/relayd.pl