Commit d9ab33ac authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add feature TestSnmpit, to invoke snmpit_test.

parent 384d412b
......@@ -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 $robsnmpit =
(EmulabFeatures->FeatureEnabled("RobSnmpit",
my $testsnmpit =
(EmulabFeatures->FeatureEnabled("TestSnmpit",
$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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment