summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2017-03-18 15:34:33 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2017-03-18 23:56:21 +0100
commit45f35410b4bdd59614dd9811ee99aea6a5d1164c (patch)
treeb145cc563161cd446bd1f55600c858cf2b38af32
parent8d909960c69378a54d9493586d74ba361948bf49 (diff)
Testsuite: fixup testsuite test about flavours
Support for flavours isn't dropped, but currently we do not have flavour specific files.
-rw-r--r--test/lib/Exim/Runtest.pm2
-rw-r--r--test/t/00-basic.t3
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;