File: build_tests.sh

package info (click to toggle)
golang-github-gosnmp-gosnmp 1.42.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 752 kB
  • sloc: sh: 75; makefile: 20
file content (17 lines) | stat: -rwxr-xr-x 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash

echo "Using $(snmpd --version | awk /version:/)"
./snmp_users.sh
sed -i -e 's/^agentAddress.*/agentAddress udp:127.0.0.1:1024/' /etc/snmp/snmpd.conf
sed -i -e 's/ localhost / 127.0.0.1 /' /etc/snmp/snmpd.conf
sed -i -e 's/.*trapsink.*//' /etc/snmp/snmpd.conf
sed -i -e 's/.*master\s*agentx//' /etc/snmp/snmpd.conf
snmpd

go test -v -tags helper
go test -v -tags marshal
go test -v -tags misc
go test -v -tags api
go test -v -tags end2end
go test -v -tags trap
go test -v -tags all -race