diff options
author | Mark Johnston <markj@FreeBSD.org> | 2015-01-30 04:11:30 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2015-01-30 04:11:30 +0000 |
commit | ea2e7ddab1912792aadbc790c1106082cf4d6807 (patch) | |
tree | 2d1d63363f5ec7cefc581b2084e7c97ce4875881 /cddl | |
parent | 5d64c46856d3b9de3719c3a46650b163263f6145 (diff) | |
download | src-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-x | cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl | 2 |
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 || |