From 45f35410b4bdd59614dd9811ee99aea6a5d1164c Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Sat, 18 Mar 2017 15:34:33 +0100 Subject: [PATCH] Testsuite: fixup testsuite test about flavours Support for flavours isn't dropped, but currently we do not have flavour specific files. --- test/lib/Exim/Runtest.pm | 2 +- test/t/00-basic.t | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/lib/Exim/Runtest.pm b/test/lib/Exim/Runtest.pm index 537cea1e9..e41a29c8c 100644 --- a/test/lib/Exim/Runtest.pm +++ b/test/lib/Exim/Runtest.pm @@ -137,7 +137,7 @@ sub flavour { sub flavours { my %h = map { /\.(\S+)$/, 1 } - glob('stdout/*.*'), glob('stderr/*.*'); + grep { !/\.orig$/ } glob('stdout/*.*'), glob('stderr/*.*'); return sort keys %h; } diff --git a/test/t/00-basic.t b/test/t/00-basic.t index 0612a20af..2fbd2decd 100644 --- a/test/t/00-basic.t +++ b/test/t/00-basic.t @@ -45,7 +45,8 @@ subtest 'flavour' => sub { is flavour('t/samples/debian.sid/etc'), 'debian' => 'got flavour debian from debian sid w/o VERSION_ID'; is flavour('t/samples/fedora24/etc'), 'fedora24' => 'got flavour fedora24 from os-release'; is flavour('t/samples/empty'), undef() => 'got empty flavour (undef)'; - is_deeply [flavours()], ['debian8'] => 'got available flavours'; + # we do not have flavours anymore (2017-03-18) + # is_deeply [flavours()], ['debian8'] => 'got available flavours'; }; done_testing; -- 2.30.2