From af2b7781f179f4317e35d0a247c522e026cbbb3a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 15 Nov 2023 05:55:49 +0000 Subject: cindex: fix test when missing time(1) executable It was only there for development purposes because associate is slow, but it causes the test to get stuck on systems where it's not available. So remove it and just call join(1posix). Note: this is not the `time' builtin found in shells, this executable shows memory and pagefault info (and more with the `-v' switch). Unfortunately, it's not installed on many systems despite being widely-packaged. Reported-by: Konstantin Ryabitsev --- lib/PublicInbox/CodeSearchIdx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox') diff --git a/lib/PublicInbox/CodeSearchIdx.pm b/lib/PublicInbox/CodeSearchIdx.pm index 9ceef16c..3a30b5e5 100644 --- a/lib/PublicInbox/CodeSearchIdx.pm +++ b/lib/PublicInbox/CodeSearchIdx.pm @@ -890,7 +890,7 @@ sub associate { my @pending = keys %{$self->{PENDING}}; die "E: pending=@pending jobs not done\n" if @pending; progress($self, 'associating...'); - my @join = ('time', @JOIN, 'to_ibx_id', 'to_root_id'); + my @join = (@JOIN, 'to_ibx_id', 'to_root_id'); my $rd = popen_rd(\@join, $CMD_ENV, { -C => "$TMPDIR" }); my %score; while (<$rd>) { # PFX ibx_ids root_id -- cgit v1.2.3-24-ge0c7