$node->start;
my $numrows = 700;
-$ENV{PATH} = "$ENV{TESTDIR}:$ENV{PATH}";
+my $libpq_pipeline = "$ENV{TESTDIR}/libpq_pipeline";
-my ($out, $err) = run_command([ 'libpq_pipeline', 'tests' ]);
+my ($out, $err) = run_command([ $libpq_pipeline, 'tests' ]);
die "oops: $err" unless $err eq '';
my @tests = split(/\s+/, $out);
# Execute the test
$node->command_ok(
[
- 'libpq_pipeline', @extraargs,
- $testname, $node->connstr('postgres')
+ $libpq_pipeline, @extraargs,
+ $testname, $node->connstr('postgres')
],
"libpq_pipeline $testname");