~ubuntu-branches/debian/lenny/net-snmp/lenny

« back to all changes in this revision

Viewing changes to testing/tests/T120proxyget

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-05-10 22:20:23 UTC
  • Revision ID: james.westby@ubuntu.com-20070510222023-3fr07xb9i17xvq32
Tags: upstream-5.3.1
ImportĀ upstreamĀ versionĀ 5.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# standard V3 configuration for initial user
16
16
. ./Sv3config
17
17
# config the proxy
18
 
CONFIGAGENT proxy -t 2 -r 1 -v 2c -c testcommunity $SNMP_TRANSPORT_SPEC:${SNMP_TEST_DEST}7676 system
 
18
CONFIGAGENT proxy -t 2 -r 1 -v 2c -c testcommunity $SNMP_TRANSPORT_SPEC:${SNMP_TEST_DEST}${SNMP_AGENTX_PORT} system
19
19
 
20
20
# Start the agent without initializing the system mib.
21
21
ORIG_AGENT_FLAGS="$AGENT_FLAGS"
38
38
  echo "rwcommunity testcommunity" >> $SNMP_CONFIG_FILE
39
39
  AGENT_FLAGS=$ORIG_AGENT_FLAGS
40
40
  ORIG_SNMP_SNMPD_PORT=$SNMP_SNMPD_PORT
41
 
  SNMP_SNMPD_PORT="7676"
 
41
  SNMP_SNMPD_PORT="${SNMP_AGENTX_PORT}"
42
42
  STARTAGENT
43
43
  SNMP_SNMPD_PORT=$ORIG_SNMP_SNMPD_PORT
44
44