From 814374aba42185c5a97c6903d6edceb9b4480a0e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 29 Feb 2016 08:21:40 +0000 Subject: [PATCH] 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). --- t/init.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.44.0