Subject: | t/03-openlive.t fails in openSUSE 12.1 (patch) |
'make test' fails on 03-openlive.t. It appears to be doing a string
match on an expected error message that fails. I updated the regex match
in the attached patch.
Subject: | 03-openlive.t.patch |
--- 03-openlive.t 2011-12-12 16:38:11.654454889 -0700
+++ new/03-openlive.t 2011-12-12 16:38:00.902592858 -0700
@@ -67,7 +67,7 @@
} elsif($^O eq 'darwin' or $^O eq 'freebsd' or $^O eq 'openbsd') {
like( $err, "/^(?:BIOCSETIF: )?$fakedev: Device not configured/", " - \$err must be set: $err" );
} else {
- like( $err, '/^(?:bind|ioctl|SIOCGIFHWADDR): (?:No such device)/', " - \$err must be set: $err" );
+ like( $err, '/(?:bind|ioctl|SIOCGIFHWADDR): (?:No such device)/', " - \$err must be set: $err" );
}
is( $pcap, undef, " - \$pcap isn't defined" );
$err = '';