From: Eric Wong Date: Mon, 29 Feb 2016 08:21:40 +0000 (+0000) Subject: t/init.t: avoid spewing directory names in output X-Git-Tag: v1.0.0~671 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=814374aba42185c5a97c6903d6edceb9b4480a0e t/init.t: avoid spewing directory names in output This is a step towards having consistent, reproducible test output. (ugh, but each %hash usage screws that up). --- diff --git a/t/init.t b/t/init.t index 9d1d2f45..8989557c 100644 --- 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();