aboutsummaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2015-01-30 04:11:30 +0000
committerMark Johnston <markj@FreeBSD.org>2015-01-30 04:11:30 +0000
commitea2e7ddab1912792aadbc790c1106082cf4d6807 (patch)
tree2d1d63363f5ec7cefc581b2084e7c97ce4875881 /cddl
parent5d64c46856d3b9de3719c3a46650b163263f6145 (diff)
downloadsrc-ea2e7ddab1912792aadbc790c1106082cf4d6807.tar.gz
src-ea2e7ddab1912792aadbc790c1106082cf4d6807.zip
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
Notes
Notes: svn path=/head/; revision=277909
Diffstat (limited to 'cddl')
-rwxr-xr-xcddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl b/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl
index db157415b62b..f32dbcefb6a5 100755
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl
+++ b/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl
@@ -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 ||