Commit ab9722b3 authored by Ed J's avatar Ed J

make t/02-netplugin.t ignore RANDR error

parent 22818701
......@@ -4,6 +4,7 @@ Revision history for Perl module Gimp
Bug fixes:
- reduce hardcoding in t/02-netplugin.t
- make t/02-netplugin.t ignore RANDR error
2.31_01 2016-05-01
......
......@@ -2,9 +2,11 @@ use strict;
use Test::More;
our ($dir, $DEBUG);
my @PLUGINS;
my $UNLIKE_RX;
BEGIN {
# $Gimp::verbose = 3;
@PLUGINS = qw(dots glowing_steel map_to_gradient redeye);
$UNLIKE_RX = qr/^Xlib: extension "RANDR" missing/;
$DEBUG = 0;
require 't/gimpsetup.pl';
# most minimal and elegant would be to symlink sandbox gimp-dir's
......@@ -67,7 +69,7 @@ for my $test (@testbench) {
}
}
}
is(join('', @errlines), '', "$name stderr empty");
unlike(join('', @errlines), $UNLIKE_RX, "$name stderr not of concern");
is(join('', @outlines), '', "$name stdout empty");
waitpid($pid, 0);
is($? >> 8, 0, "$file exit=0");
......
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