Commit dd7584c9 authored by Ed J's avatar Ed J

get Xlib warning ignoring logic right

parent 64bcfa8e
......@@ -2,11 +2,11 @@ use strict;
use Test::More;
our ($dir, $DEBUG);
my @PLUGINS;
my $UNLIKE_RX;
my $LIKE_RX;
BEGIN {
# $Gimp::verbose = 3;
@PLUGINS = qw(dots glowing_steel map_to_gradient redeye);
$UNLIKE_RX = qr/^Xlib: extension "RANDR" missing/;
$LIKE_RX = qr/^(Xlib:\s*extension "RANDR" missing.*|)$/m;
$DEBUG = 0;
require 't/gimpsetup.pl';
# most minimal and elegant would be to symlink sandbox gimp-dir's
......@@ -69,7 +69,7 @@ for my $test (@testbench) {
}
}
}
unlike(join('', @errlines), $UNLIKE_RX, "$name stderr not of concern");
like(join('', @errlines), $LIKE_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