Skip to content

Commit

Permalink
Helpful message if miniircd can't start
Browse files Browse the repository at this point in the history
This is an attempt to write a helpful message for a common issue when
miniircd is not cloned.
  • Loading branch information
AlexDaniel committed Jun 1, 2018
1 parent f579dbd commit 59b1e4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/lib/Testable.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,12 @@ class Testable {
--ports=$port;
END .kill with $!server-proc;
%*ENV<TESTABLE_PORT> = $port;
$!server-proc.start;
my $started = $!server-proc.start;
sleep 1;
if $started.status ~~ Broken {
die Can't start miniircd, did you clone with --recurse-submodules ?\n
~ if not, you can do that now with: git submodule update --init --recursive
}

$!irc-client = IRC::Client.new(
:nick($our-nick ~ (^999999 .pick))
Expand Down

0 comments on commit 59b1e4c

Please sign in to comment.