On Mon, Sep 17, 2018 at 12:58 AM Anders Wallin wrote:
> One more thing;
> I think it would make sense to add tests for the usage of "-s $localhost"
> since this was introduced in 5.8
> e.g T184..
> #!/bin/sh
>
>
> . ../support/simple_eval_tools.sh
> HEADER Agent uses clientaddr for trapsink s
One more thing;
I think it would make sense to add tests for the usage of "-s $localhost"
since this was introduced in 5.8
e.g T184..
#!/bin/sh
. ../support/simple_eval_tools.sh
HEADER Agent uses clientaddr for trapsink source
SKIPIF NETSNMP_DISABLE_SNMPV2C
. ./S180trapaddrinfra
INITV4
CONFIG
Hi Bill,
On Ubuntu using dash as default shell you get
# ./RUNFULLTESTS -g default -r T180
Agent uses clientaddr for trapsink source ..
/root/net-snmp/testing/fulltests/support/simple_run: 21: [: unexpected
operator
Agent uses clientaddr for trapsink source .. ok
All tests successful.
Files=1, Tes
On Sun, Sep 16, 2018 at 12:11 AM Bart Van Assche wrote:
> On 09/13/18 10:55, Bill Fenner wrote:
> > I wrote some tests for traps and clientaddr, since there were a bunch of
> > changes between 5.7 and 5.8 in this area. I did a couple of unusual
> things:
> >
> > 1. I factored a ton of the test c
On 09/13/18 10:55, Bill Fenner wrote:
I wrote some tests for traps and clientaddr, since there were a bunch of
changes between 5.7 and 5.8 in this area. I did a couple of unusual things:
1. I factored a ton of the test code out into a support file,
S180trapaddrinfra, since the bulk of the tes