~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to perl/SNMP/t/notify.t

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        chdir 't' if -d 't';
6
6
        @INC = '../lib' if -d '../lib';
7
7
    }
 
8
    eval "use Cwd qw(abs_path)";
 
9
    $ENV{'SNMPCONFPATH'} = 'nopath';
 
10
    $ENV{'MIBDIRS'} = '+' . abs_path("../../mibs");
8
11
}
9
12
use Test;
10
13
BEGIN { $n = 10; plan tests => $n }
90
93
    print "res = $res\n";
91
94
}
92
95
  
93
 
ok($res =~ /^0 but true/);
 
96
ok(defined($res) && ($res =~ /^0 but true/));
94
97
 
95
98
snmptest_cleanup();