Date: Fri, 30 Jan 2015 04:11:31 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r277909 - head/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts Message-ID: <201501300411.t0U4BVoE047421@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Fri Jan 30 04:11:30 2015 New Revision: 277909 URL: https://svnweb.freebsd.org/changeset/base/277909 Log: 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 Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl ============================================================================== --- head/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl Fri Jan 30 03:17:07 2015 (r277908) +++ head/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl Fri Jan 30 04:11:30 2015 (r277909) @@ -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 ||
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501300411.t0U4BVoE047421>