SNMP union leak (see https://github.com/clicon/clixon/pull/461)
Added docker-snmp-mem test
This commit is contained in:
parent
e9c5287c36
commit
16a7fa3837
12 changed files with 39 additions and 36 deletions
|
|
@ -96,6 +96,7 @@ RUN install -d /clixon/build/usr/local/bin/test
|
|||
RUN install *.sh /clixon/build/usr/local/bin/test
|
||||
RUN install *.exp /clixon/build/usr/local/bin/test
|
||||
RUN install clixon.png /clixon/build/usr/local/bin/test
|
||||
RUN install *.supp /clixon/build/usr/local/bin/test
|
||||
|
||||
RUN install -d /clixon/build/mibs
|
||||
RUN install mibs/* /clixon/build/mibs
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ RUN install -d /clixon/build/usr/local/bin/test
|
|||
RUN install *.sh /clixon/build/usr/local/bin/test
|
||||
RUN install *.exp /clixon/build/usr/local/bin/test
|
||||
RUN install clixon.png /clixon/build/usr/local/bin/test
|
||||
RUN install *.supp /clixon/build/usr/local/bin/test
|
||||
|
||||
RUN install -d /clixon/build/mibs
|
||||
RUN install mibs/* /clixon/build/mibs
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ RUN install -d /clixon/build/usr/local/bin/test
|
|||
RUN install *.sh /clixon/build/usr/local/bin/test
|
||||
RUN install *.exp /clixon/build/usr/local/bin/test
|
||||
RUN install clixon.png /clixon/build/usr/local/bin/test
|
||||
RUN install *.supp /clixon/build/usr/local/bin/test
|
||||
|
||||
RUN install -d /clixon/build/mibs
|
||||
RUN install mibs/* /clixon/build/mibs
|
||||
|
|
|
|||
|
|
@ -91,6 +91,13 @@ test: docker
|
|||
./cleanup.sh ; ./start.sh # kill (ignore error) and the start it
|
||||
sudo docker exec -t clixon-test bash -c 'cd /usr/local/bin/test && detail=true ./sum.sh'
|
||||
|
||||
# Special-purpose memory test for snmp
|
||||
memsnmp: docker
|
||||
./cleanup.sh ; ./start.sh # kill (ignore error) and the start it
|
||||
sudo docker exec -t clixon-test bash -c 'sudo apk add --update valgrind; cd /usr/local/bin/test && pattern=test_snmp_union.sh ./mem.sh snmp'
|
||||
|
||||
# sudo docker exec -t clixon-test bash -c 'sudo apk add --update valgrind; cd /usr/local/bin/test && pattern=test_snmp*.sh ./mem.sh snmp'
|
||||
|
||||
depend:
|
||||
|
||||
install-include:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue