When searching for an accompanying test program, look in the directory

containing the test script rather than the current directory. This is needed
in order to run the DTrace tests under Kyua.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2015-01-30 04:11:30 +00:00
parent 5d64c46856
commit ea2e7ddab1

View File

@ -273,7 +273,7 @@ sub run_tests {
}
$fullname = "$dir/$name";
$exe = "./$base.exe";
$exe = "$dir/$base.exe";
$exe_pid = -1;
if ($opt_a && ($status != 0 || $tag != 0 || $droptag != 0 ||