Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
d9ab33ac
Commit
d9ab33ac
authored
May 13, 2011
by
Leigh B Stoller
Browse files
Add feature TestSnmpit, to invoke snmpit_test.
parent
384d412b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/snmpit.in
View file @
d9ab33ac
...
...
@@ -479,12 +479,11 @@ if ($pid && $eid) {
if
(
$TB
eq
"
/usr/testbed
"
&&
!
$opt
{
Z
})
{
my
$group
=
(
defined
(
$experiment
)
?
$experiment
->
GetGroup
()
:
undef
);
$
EmulabFeatures::
verbose
=
0
;
my
$
rob
snmpit
=
(
EmulabFeatures
->
FeatureEnabled
("
Rob
Snmpit
",
my
$
test
snmpit
=
(
EmulabFeatures
->
FeatureEnabled
("
Test
Snmpit
",
$this_user
,
$group
,
$experiment
));
if
(
$robsnmpit
)
{
# Rob, change this path:
my
$newpath
=
"
$TB
/bin/snmpit
";
if
(
$testsnmpit
)
{
my
$newpath
=
"
$TB
/bin/snmpit_test
";
print
STDERR
"
Invoking alternate snmpit from
$newpath
\n
";
unshift
(
@SAVEARGV
,
"
-Z
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment