summaryrefslogtreecommitdiff
path: root/test/t
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-11-03 09:45:17 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-11-03 09:45:17 +0100
commit58ae4e3edecdab20a77dd8c68698ed0015ae12f4 (patch)
tree8a671cb898fcaff6ba90b495800e7bfb0de34089 /test/t
parentb369d47038a075706f6dfe57ab2e1ebeea0e5bdf (diff)
Testsuite: check dynamic port >= 1024 to avoid permission problems
Diffstat (limited to 'test/t')
-rw-r--r--test/t/00-basic.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/t/00-basic.t b/test/t/00-basic.t
index 3d5503a08..af7414aa2 100644
--- a/test/t/00-basic.t
+++ b/test/t/00-basic.t
@@ -20,6 +20,7 @@ subtest 'dynamic_socket' => sub {
ok my $socket = Exim::Runtest::dynamic_socket() => 'got a socket';
diag "got socket on port @{[$socket->sockport]}";
isa_ok $socket => 'IO::Socket::INET';
+ cmp_ok $socket->sockport(), '>=', 1024 => 'port is >= 1024';
$socket->close;
};