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:
@ -29,7 +29,7 @@ sub migrate_config {
|
||||
print $fh $config;
|
||||
close($fh);
|
||||
|
||||
my $cmd = "sh -c 'exec " . abs_path("../i3-migrate-config-to-v4") . " --v3 <$tmpfile'";
|
||||
my $cmd = "sh -c 'exec i3-migrate-config-to-v4 --v3 <$tmpfile'";
|
||||
return [ split /\n/, qx($cmd) ];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user