]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/init.t: avoid spewing directory names in output
authorEric Wong <e@80x24.org>
Mon, 29 Feb 2016 08:21:40 +0000 (08:21 +0000)
committerEric Wong <e@80x24.org>
Mon, 29 Feb 2016 09:34:03 +0000 (09:34 +0000)
This is a step towards having consistent, reproducible
test output. (ugh, but each %hash usage screws that up).

t/init.t

index 9d1d2f4576afb3f9f163753cdb06bbc38bc82a22..8989557cb7cec5a128863bbef6e29bb676d31ce2 100644 (file)
--- a/t/init.t
+++ b/t/init.t
@@ -13,10 +13,10 @@ use constant pi_init => 'blib/script/public-inbox-init';
        my $cfgfile = "$ENV{PI_DIR}/config";
        my @cmd = (pi_init, 'blist', "$tmpdir/blist",
                   qw(http://example.com/blist blist@example.com));
-       is(system(@cmd), 0, join(' ', @cmd). ' failed');
+       is(system(@cmd), 0, 'public-inbox-init failed');
 
        ok(-e $cfgfile, "config exists, now");
-       is(system(@cmd), 0, join(' ', @cmd). ' failed (idempotent)');
+       is(system(@cmd), 0, 'public-inbox-init failed (idempotent)');
 }
 
 done_testing();