From b16ea8b7191086d1363e5635a16de05879685204 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 21 Oct 2015 06:54:03 -0400 Subject: [PATCH] Tests: With --benchmark, don't time directory change. --- test_regress/driver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_regress/driver.pl b/test_regress/driver.pl index 2d33502cd..5afdad564 100755 --- a/test_regress/driver.pl +++ b/test_regress/driver.pl @@ -928,7 +928,7 @@ sub _run { my %param = (tee=>1, @_); my $command = join(' ',@{$param{cmd}}); - $command = "time $command" if $opt_benchmark; + $command = "time $command" if $opt_benchmark && $command !~ /^cd /; print "\t$command"; print " > $param{logfile}" if $param{logfile}; print "\n";