testsuite: use relative paths, set PATH to absolute path
This approach works better with autotools, which supports the build directory being complete outside the source tree.
This commit is contained in:
@ -26,7 +26,7 @@ sub check_config {
|
||||
my ($config) = @_;
|
||||
my ($fh, $tmpfile) = tempfile(UNLINK => 1);
|
||||
print $fh $config;
|
||||
my $output = qx(DISPLAY= ../i3 -C -c $tmpfile 2>&1);
|
||||
my $output = qx(DISPLAY= i3 -C -c $tmpfile 2>&1);
|
||||
my $retval = $?;
|
||||
$fh->flush;
|
||||
close($fh);
|
||||
|
Reference in New Issue
Block a user